I8014W_Readgainoffset - ICP DAS USA I-8014W User Manual

250 ks/s, 16-bit, 8-channel differential/16-channel single-ended analog input module
Table of Contents

Advertisement

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]
*offsetValue:
[Output]
Return
None
I-8014W API User Manual, v1.0.1, June 2011
Copyright © 2011 ICP DAS Co., Ltd. All Rights Reserved. E-mail: service@icpdas.com
gain value for the input range
offset value for the input range
64

Advertisement

Table of Contents
loading

Table of Contents