API Functions
36Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.16 ps2000_ready
int16_t ps2000_ready
(
int16_t handle
)
This function polls the driver to see if the oscilloscope has finished the last data collection
operation.
Block mode only. Does nothing if the oscilloscope is in streaming mode.
handle: the handle of the required oscilloscope
>0: if ready. The oscilloscope has collected a complete block of data or the
auto trigger timeout has been reached.
0: if not ready. An invalid handle was passed, or the oscilloscope is in
streaming mode, or the oscilloscope is still collecting data in block mode.
-1: if the oscilloscope is not attached. The USB transfer failed, indicating that
the oscilloscope may have been unplugged.