User manual
Programming with the PicoScope 6000 Series40
Copyright © 2009-2013 Pico Technology Ltd. All rights reserved.ps6000pg.en r9
3.9.17
ps6000GetValuesBulk
PICO_STATUS ps6000GetValuesBulk
(
short handle,
unsigned long * noOfSamples,
unsigned long fromSegmentIndex,
unsigned long toSegmentIndex,
unsigned long downSampleRatio,
PS6000_RATIO_MODE downSampleRatioMode,
short * overflow
)
This function retrieves waveforms captured using rapid block mode. The waveforms
must have been collected sequentially and in the same run. This method of collection
does not support downsampling.
Applicability
Rapid block mode
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 ps6000GetValues
downSampleRatioMode: see ps6000GetValues
* 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 ps6000GetValues.
Returns
PICO_OK
PICO_INVALID_HANDLE
PICO_INVALID_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_NO_SAMPLES_AVAILABLE
PICO_STARTINDEX_INVALID
PICO_NOT_RESPONDING
PICO_DRIVER_FUNCTION