
Prog ramming the 3000A Series oscilloscopes
28
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.
ps3000abpg.en r9
2.12.5 ps3000aDataReady (callback)
typedef void (CALLBACK *ps3000aDataReady)
(
short handle,
PICO_STATUS status,
unsigned long noOfSamples,
short overflow,
void * pParameter
)
This is a
function that you write to collect data from the driver. You supply a
pointer to the function when you call
, and the driver calls your
function back when the data is ready.
Applicability
All modes
Arguments
handle,
the handle of the device returning the samples.
status,
a
noOfSamples,
the number of samples collected.
overflow,
a set of flags that indicates whether an overvoltage has
occurred and on which channels. It is a bit field with bit 0
representing Channel A.
* pParameter,
a void pointer passed from
. 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