:
sResponse.iReturnValue :
- 0: Means the remote function performed OK
- -1: Means an system error occured
- -2: Channel selection wrong
sResponse.syserrno : system-error code (the value of the libc "errno" code)
ulClass : 0 : RTD / 1 : TC
ulType : Type selection
-
For TC
-
1: Type B
-
4: Type E
-
9: Type J
-
10: Type K
-
13: Type N
-
18: Type R
-
19: Type S
-
20: Type T
-
For RTD type PT
-
100: PT100
-
200: PT200
-
500: PT500
-
1000: PT1000
-
...
-
For RTD type Ni
-
101: Ni100
-
201: Ni200
-
501: Ni500
-
1001: Ni1000
-
...
-
For NTC
ulBaseSamplingRate : Sampling rate selection
-
5 for 5Hz
-
10 for 10Hz
-
20 for 20Hz
-
40 for 40Hz
-
80 for 80Hz
-
160 for 160Hz
-
320 for 320Hz
-
640 for 640Hz
-
1000 for 1000Hz
-
2000 for 2000Hz
|