I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: [email protected]
64
i8014W_ReadGainOffset
This function is used to obtain the gain and offset values for each input type.
The input types are numbered as:
0:
+/-10 V,
1:
+/-5 V,
2:
+/-2.5 V,
3:
+/-1.25 V,
4:
+/-20 mA
Prototype
For MiniOS7
void i8014W_ ReadGainOffset
(
int slot, int gain, unsigned short* gainValue, short* offsetValue
);
For Windows (CE and WES)
void pac_i8014W_ReadGainOffset
(
int slot,short gain,unsigned short* gainValue, short* offsetValue
);
Parameter
Slot: 0 ~ 7
Gain: specifies the input type (0 ~ 4).
0:
+/-10 V,
1:
+/-5 V,
2:
+/-2.5 V,
3:
+/-1.25 V,
4:
+/-20 mA
*gainValue:
[Output]
gain value for the input range
*offsetValue:
[Output]
offset value for the input range
Return
None