
ioLogik MXIO DLL API Reference Direct I/O Command Sets
6-77
RTD2K_SetSensorType
This function code is used to set the sensor type for a specific RTD
channel.
C/C++
Arguments
Return Value
int RTD2K_SetSensorType ( int hConnection,
BYTE bytChannel,
WORD wSensorType);
hConnection: The handle for an I/O device connection.
bytChannel : The specific channel to be set.
wSensorType: A pointer that stores the specific RTD
channel's sensor type. The values for normal
channels 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
oRe
u
n Codes.
Komentarze do niniejszej Instrukcji