Information

PicoLog 1000 Series Programmer's Guide 15
Copyright © 2009 Pico Technology Ltd. All rights reserved. pl1000pg.en
3.3.9
pl1000OpenUnitProgress
PICO_STATUS pl1000OpenUnitProgress(
short * handle,
short * progress,
short * complete
)
This function checks on the progress of pl1000OpenUnitAsync .
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 PicoLog 1000 Series
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:
PICO_OK
PICO_NULL_PARAMETER
PICO_OPERATION_FAILED
14
23
23
23