User Manual

USB PT-104 Data Logger Programmer's Guide 13
Copyright © 2010-2011 Pico Technology Ltd. All rights reserved. usbpt104pg.en
2.12
Constants and enumerated types
#define USBPT104_MIN_WIRES 2
#define USBPT104_MAX_WIRES 4
typedef enum enUsbPt104Channels
{
USBPT104_CHANNEL_1 = 1,
USBPT104_CHANNEL_2,
USBPT104_CHANNEL_3,
USBPT104_CHANNEL_4,
USBPT104_CHANNEL_5,
USBPT104_CHANNEL_6,
USBPT104_CHANNEL_7,
USBPT104_CHANNEL_8,
USBPT104_MAX_CHANNELS = USBPT104_CHANNEL_8
} USBPT104_CHANNELS;
typedef enum enUsbPt104DataType
{
USBPT104_OFF,
USBPT104_PT100,
USBPT104_PT1000,
USBPT104_RESISTANCE_TO_375R,
USBPT104_RESISTANCE_TO_10K,
USBPT104_DIFFERENTIAL_TO_115MV,
USBPT104_DIFFERENTIAL_TO_2500MV,
USBPT104_SINGLE_ENDED_TO_115MV,
USBPT104_SINGLE_ENDED_TO_2500MV,
USBPT104_MAX_DATA_TYPES
} USBPT104_DATA_TYPES;
typedef enum enIpDetailsType
{
IDT_GET,
IDT_SET,
} IP_DETAILS_TYPE;
typedef enum enCommunicationType
{
CT_USB = 0x00000001,
CT_ETHERNET = 0x00000002,
CT_ALL = 0xFFFFFFFF
} COMMUNICATION_TYPE;
2.13
Windows
The 32-bit Windows driver is the file usbpt104.dll, which is included in the SDK. If
an application is unable to find the DLL, try moving the DLL to c:\windows\system.