User Manual

USB PT-104 Data Logger Programmer's Guide 9
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbpt104pg.en
2.8
UsbPt104OpenUnit
PICO_STATUS UsbPt104OpenUnit (
short * handle,
char * serial
)
This routine obtains a handle for the PT-104 device with the given serial number.
If you wish to use more than one PT-104, you must call the routine once for each
device.
Arguments:
handle, output: handle of the device that was opened. This value is
used to identify the device in all further function calls.
serial, input: serial number string of device, null-terminated.
Returns:
defined in picoStatus.h