
Prog ramming the 3000A Series oscilloscopes
46
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.21 ps3000aGetValuesAsync
PICO_STATUS ps3000aGetValuesAsync
(
short handle,
unsigned long startIndex,
unsigned long noOfSamples,
unsigned long downSampleRatio,
PS3000A_RATIO_MODE downSampleRatioMode,
unsigned short segmentIndex,
void * lpDataReady,
void * pParameter
)
This function returns data either with or without
, starting at the
specified sample number. It is used to get the stored data from the scope after data
collection has stopped. It returns the data using a
Applicability
and
Arguments
handle,
the handle of the required device
startIndex,
see
noOfSamples,
see
downSampleRatio,
see
downSampleRatioMode,
see
segmentIndex,
see
* lpDataReady,
a pointer to the user-supplied function that will
be called when the data is ready. This will be a
function for block-mode data or a
for streaming-mode data.
* pParameter,
a void pointer that will be passed to the callback
function. The data type is determined by the application.
PICO_OK
PICO_POWER_SUPPLY_CONNECTED
PICO_POWER_SUPPLY_NOT_CONNECTED
PICO_INVALID_HANDLE
PICO_NO_SAMPLES_AVAILABLE
PICO_DEVICE_SAMPLING
PICO_NULL_PARAMETER
PICO_STARTINDEX_INVALID
PICO_SEGMENT_OUT_OF_RANGE
PICO_INVALID_PARAMETER
PICO_DATA_NOT_AVAILABLE
PICO_INVALID_SAMPLERATIO
PICO_INVALID_CALL
PICO_DRIVER_FUNCTION