Pico DrDAQ® 2011 data-logging set USB data logger, oscilloscope attachment, data logger, signal generator P PP707 User Manual

Product codes
PP707
Page of 50
USB DrDAQ Programmer's Guide
23
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.
usbdrdaqpg.en
3.5.14 UsbDrDaqOpenUnitProgress
PICO_STATUS UsbDrDaqOpenUnitProgress(
short * handle, 
short * progress, 
short * complete
)
This function checks on the progress of 
.
Arguments:
handle: 
a pointer to where the function should store the handle of
the opened data logger, if the operation was successful.  Use this as
the 
handle 
parameter when calling any other USB DrDAQ API
function.
0:
if no unit is found or the unit fails to open
<>0:
handle of unit (valid only if function returns 
PICO_OK
)
progress:
 a location where the function writes an estimate of the
progress towards opening the data logger. The value is between 0 to
100.
complete:
 a location where the function will write a non-zero value
if the operation has completed
Returns:
22
37
37
37