API Functions
33Copyright © 2006–2022 Pico Technology Ltd. All rights reserved.ps2000pg.en-12
PicoScope 2000 Series Programmer's Guide
5.13 ps2000_open_unit_progress
int16_t ps2000_open_unit_progress
(
int16_t *handle,
int16_t *progress_percent
)
This function checks on the progress of ps2000_open_unit_async.
All modes
Use only with ps2000_open_unit_async
handle: a pointer to where the function should store the handle of the
opened oscilloscope
0 if no oscilloscope is found or the oscilloscope fails to open,
handle of oscilloscope (valid only if function returns 1)
progress_percent: a pointer to an estimate of the progress towards
opening the oscilloscope. The function will write a value from 0 to 100,
where 100 implies that the operation is complete.
>0: if the driver successfully opens the oscilloscope
0: if opening still in progress
-1: if the oscilloscope failed to open or was not found