User Manual
Programming with the PicoScope 4000 Series12
Copyright © 2008-2011 Pico Technology Ltd. All rights reserved.ps4000pg.en
ps4000GetValuesBulk
(
handle,
&noOfSamples, // set to MAX_SAMPLES on entering the function
10, // fromSegmentIndex,
19, // toSegmentIndex,
overflow // an array of size 10 shorts
)
Comments: the number of samples could be up to noOfPreTriggerSamples +
noOfPostTriggerSamples, the values set in ps4000RunBlock. The samples are
always returned from the first sample taken, unlike the ps4000GetValues function
which allows the sample index to be set. This function does not support aggregation.
The above segments start at 10 and finish at 19 inclusive. It is possible for the
fromSegmentIndex to wrap around to the toSegementIndex, by setting the
fromSegmentIndex to 98 and the toSegmentIndex to 7.
ps4000GetValuesTriggerTimeOffsetBulk64
(
handle,
times,
timeUnits,
10,
19
)
Comments: the above segments start at 10 and finish at 19 inclusive. It is possible
for the fromSegmentIndex to wrap around to the toSegmentIndex, if the
fromSegmentIndex is set to 98 and the toSegmentIndex to 7.