
Prog ramming the 3000A Series oscilloscopes
12
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
ps3000aGetValuesBulk
(
handle,
&noOfSamples, // set to MAX_SAMPLES on entering
the function
10, // fromSegmentIndex
19, // toSegmentIndex
1, // downsampling ratio
PS3000A_RATIO_MODE_NONE, // downsampling ratio mode
overflow // an array of size 10 shorts
)
Comments: the number of samples could be up to
noOfPreTriggerS
noOfPostTriggerSamples
, the values set in
ps3000aRunBlock
. The samples are
always returned from the first sample taken, unlike the
ps3000aGetValues
function
which allows the sample index to be set. The above segments start at 10 and finish at
19 inclusive. It is possible for the
fromSegmentIndex
to wrap around to the
toSegmentIndex,
by setting the
fromSegmentIndex
to 98 and the
toSegmentIndex
to 7.
ps3000aGetValuesTriggerTimeOffsetBulk64
(
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.