User manual

Writing your own software22
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved.usbdrdaqpg.en
3.5.13
UsbDrDaqOpenUnitAsync
PICO_STATUS UsbDrDaqOpenUnitAsync(
short * status
)
This function opens a USB DrDAQ data logger without waiting for the operation to
finish. You can find out when it has finished by periodically calling
UsbDrDaqOpenUnitProgress until that function returns a non-zero value and a valid
data logger handle.
The driver can support up to 64 data loggers.
Arguments:
status: the function writes a status flag to this location:
0 if there is already an open operation in progress
1 if the open operation is initiated
Returns:
PICO_OK
PICO_OPEN_OPERATION_IN_PROGRESS
PICO_OPERATION_FAILED
23
37
37
37