Installation guide
API functions24
Copyright © 2008-2014 Pico Technology Ltd. All rights reserved.ps4000apg.en r1
4.5
ps4000aDataReady
typedef void (CALLBACK *ps4000aDataReady)
(
int16_t handle,
PICO_STATUS status,
uint32_t noOfSamples,
int16_t overflow,
void * pParameter
)
This function handles post-collection data returned by the driver after a call to
ps4000aGetValuesAsync. It is a callback function that is part of your application.
You register it with the PicoScope 4000 Series driver using
ps4000aGetValuesAsync, and the driver calls it back when the data is ready.
Applicability
All modes
Arguments
handle, the handle of the device returning the samples.
status, indicates success or failure
noOfSamples, the number of samples collected.
overflow, returns a flag that indicates whether an overvoltage has
occurred on any of the channels. It is a bit pattern with bit 0
denoting Channel A.
pParameter, a void pointer passed from
ps4000aGetValuesAsync. The callback function can write to this
location to send any data, such as a status flag, back to the
application. The data type is defined by the application programmer.
Returns
nothing