
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-78
RTD2K_GetSensorTypes
This function code is used to get contiguous RTD channel's sensor
type.
C/C++
Arguments
Return Value
int RTD2K_GetSensorTypes ( int hConnection,
BYTE bytStartChannel,
BYTE bytCount,
WORD wSensorType[ ]);
hConnection: The handle for an I/O device connection.
bytStartChannel: Specifies the starting channel.
bytCount: The number of channels to be get.
wSensorType: An array that stores the contiguous RTD
channel's sensor type, wSensorType[0]
represents the value of the starting channel.
The values for normal channel are:
0=PT50
1=PT100
2=PT200
3=PT500
4=PT1000
5=JPT100
6=JPT200
7=JPT500
8=JPT1000
9=NI100
10=NI200
11=NI500
12=NI1000
13=NI120
14=310 Ohm
15=620 Ohm
16=1250 Ohm
17=2500 Ohm
Others : return Illegal Data Value
The values for virtual channels are:
20=AVG
21=DIV
Others : return Illegal Data Value
Succeed MXIO_OK.
Fail Refer to Return Codes.
Comentarios a estos manuales