User manual
USB DrDAQ Programmer's Guide 11
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbdrdaqpg.en
3.5.2
UsbDrDaqOpenUnit
PICO_STATUS UsbDrDaqOpenUnit(
short * handle
)
This function opens and enumerates the unit.
Arguments:
handle: the function will write a value here that uniquely identifies
the data logger that was opened. Use this as the handle parameter
when calling any other UsbDrDaq API function.
Returns:
PICO_OK
PICO_OS_NOT_SUPPORTED
PICO_OPEN_OPERATION_IN_PROGRESS
PICO_EEPROM_CORRUPT
PICO_KERNEL_DRIVER_TOO_OLD
PICO_FW_FAIL
PICO_MAX_UNITS_OPENED
PICO_NOT_FOUND
PICO_NOT_RESPONDING
37
37
37
37
37
37
37
37
37