User Manual

USB PT-104 Data Logger Programmer's Guide 5
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbpt104pg.en
2.4
UsbPt104Enumerate
PICO_STATUS UsbPt104Enumerate (
char * details,
unsigned long * length,
COMMUNICATION_TYPE type
)
This routine returns a list of all the attached PT-104 devices of the specified port type.
Arguments:
details, a string buffer to receive a maximum of length characters
input:
the length of the string buffer
output:
the length of the information string returned
type, the communication type used by the PT-104. Can be any of
the following enumerated types:
CT_USB = 0x00000001
CT_ETHERNET = 0x00000002
CT_ALL = 0xFFFFFFFF
Returns:
defined in picoStatus.h