User manual

Programming with the PicoScope 6000 Series12
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
ps6000GetValuesBulk
(
handle,
&noOfSamples, // set to MAX_SAMPLES on entering the
function
10, // fromSegmentIndex
19, // toSegmentIndex
1, // downsampling ratio
PS6000_RATIO_MODE_NONE, // downsampling ratio mode
overflow // an array of size 10 shorts
)
Comments: the number of samples could be up to noOfPreTriggerSamples +
noOfPostTriggerSamples, the values set in ps6000RunBlock. The samples are
always returned from the first sample taken, unlike the ps6000GetValues 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.
ps6000GetValuesTriggerTimeOffsetBulk64
(
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.