Prog ramming the 3000A Series oscilloscopes24
Copyright © 2011-2013 Pico Technology Limited. All rights reserved.ps3000abpg.en r9
2.12.1
ps3000aBlockReady (callback)
typedef void (CALLBACK *ps3000aBlockReady)
(
short handle,
PICO_STATUS status,
void * pParameter
)
This callback function is part of your application. You register it with the PicoScope
3000A series driver using ps3000aRunBlock, and the driver calls it back when block-
mode data is ready. You can then download the data using the ps3000aGetValues
function.
handle, the handle of the device returning the samples.
status, indicates whether an error occurred during collection of
the data.
* pParameter, a void pointer passed from ps3000aRunBlock. Your
callback function can write to this location to send any data, such as
a status flag, back to your application.