PicoScope 3000A Series Prog rammer's Guide 35
Copyright © 2011-2013 Pico Technology Limited. All rights reserved. ps3000abpg.en r9
2.12.12
ps3000aGetNoOfCaptures
PICO_STATUS ps3000aGetNoOfCaptures
(
short handle,
unsigned long * nCaptures
)
This function finds out how many captures are available in rapid block mode 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_NOT_RESPONDING
PICO_NO_SAMPLES_AVAILABLE
PICO_NULL_PARAMETER
PICO_INVALID_PARAMETER
PICO_SEGMENT_OUT_OF_RANGE
PICO_TOO_MANY_SAMPLES