
PicoScope 3000A Series Prog rammer's Guide
47
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.22 ps3000aGetValuesBulk
PICO_STATUS ps3000aGetValuesBulk
(
short handle,
unsigned long * noOfSamples,
unsigned short fromSegmentIndex,
unsigned short toSegmentIndex,
unsigned long downSampleRatio,
PS3000A_RATIO_MODE downSampleRatioMode,
short * overflow
)
This function retrieves waveforms captured using
must have been collected sequentially and in the same run.
Applicability
Arguments
handle,
the handle of the device
* noOfSamples,
on entry, the number of samples required; on exit,
the actual number retrieved. The number of samples retrieved will not
be more than the number requested. The data retrieved always starts
with the first sample captured.
fromSegmentIndex,
the first segment from which the waveform
should be retrieved
toSegmentIndex,
the last segment from which the waveform
should be retrieved
downSampleRatio,
see
downSampleRatioMode,
see
* overflow,
an array of integers equal to or larger than the
number of waveforms to be retrieved. Each segment index has a
corresponding entry in the
overflow
array, with
overflow[0]
containing the flags for the segment numbered
fromSegmentIndex
and the last element in the array containing the flags for the segment
numbered
toSegmentIndex
. Each element in the array is a bit field
as described under
.
PICO_OK
PICO_POWER_SUPPLY_CONNECTED
PICO_POWER_SUPPLY_NOT_CONNECTED
PICO_INVALID_HANDLE
PICO_INVALID_PARAMETER
PICO_INVALID_SAMPLERATIO
PICO_ETS_NOT_RUNNING
PICO_BUFFERS_NOT_SET
PICO_TOO_MANY_SAMPLES
PICO_SEGMENT_OUT_OF_RANGE
PICO_NO_SAMPLES_AVAILABLE
PICO_NOT_RESPONDING
PICO_DRIVER_FUNCTION