Prog ramming the 3000A Series oscilloscopes36
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.ps3000abpg.en r9
2.12.13
ps3000aGetNoOfProcessedCaptures
PICO_STATUS ps3000aGetNoOfProcessedCaptures
(
short handle,
unsigned long * nCaptures
)
This function finds out how many captures in rapid block mode have been processed
after ps3000aRunBlock has been called when either the collection completed or the
collection of waveforms was interrupted by calling ps3000aStop. The returned value
(nCaptures) can then be used to iterate through the number of segments using
ps3000aGetValues, or in a single call to ps3000aGetValuesBulk where it is used
to calculate the toSegmentIndex parameter.
handle, handle of the required device.
* nCaptures, output: the number of available captures that has
been collected from calling ps3000aRunBlock.
PICO_OK
PICO_DRIVER_FUNCTION
PICO_INVALID_HANDLE
PICO_NO_SAMPLES_AVAILABLE
PICO_NULL_PARAMETER
PICO_INVALID_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_TOO_MANY_SAMPLES