Prog ramming the 3000A Series oscilloscopes46
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 downsampling, 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 callback.
Streaming mode and block mode
handle, the handle of the required device
startIndex, see ps3000aGetValues
noOfSamples, see ps3000aGetValues
downSampleRatio, see ps3000aGetValues
downSampleRatioMode, see ps3000aGetValues
segmentIndex, see ps3000aGetValues
* lpDataReady, a pointer to the user-supplied function that will
be called when the data is ready. This will be a ps3000aDataReady
function for block-mode data or a ps3000aStreamingReady function
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