Type Definition pico_sys_dynamic::ps2000a::ps2000aDataReady[][src]

type ps2000aDataReady = Option<unsafe extern "C" fn(handle: i16, status: PICO_STATUS, noOfSamples: u32, overflow: i16, pParameter: *mut c_void)>;
This is a callback function that you write to collect data from the driver. You supply a pointer to the function when you call ps3000aGetValuesAsync, and the driver calls your function back when the data is ready. Device identifier returned by OpenUnit. Indicates whether an error occurred during collection of the data. the number of samples collected. 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. A void pointer passed from ps3000aGetValuesAsync. 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.