Installation guide

Programming with the PicoScope 4000 Series (A API)12
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
ps4000aGetValuesBulk
(
handle,
&noOfSamples, // set to MAX_SAMPLES on entering
the function
10, // fromSegmentIndex
19, // toSegmentIndex
1, // downSampleRatio
PS4000A_RATIO_MODE_NONE,..// downSampleRatioMode
overflow // an array of size 10 int16_t
integers
)
Comments: the number of samples could be up to noOfPreTriggerSamples +
noOfPostTriggerSamples, the values set in ps4000aRunBlock. The samples are
always returned from the first sample taken, unlike the ps4000aGetValues function
which allows the sample index to be set. This function does not support
downsampling. 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.
ps4000aGetValuesTriggerChannelTimeOffsetBulk64
(
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.