68 eDisplay (OP7200)
Reads the state of a single-ended analog input channel and uses the previously set calibration constants to
convert the reading to volts.
PARAMETERS
channel is the analog input channel number (0 to 7) corresponding to AIN0–AIN7:
gaincode is the gain code of 0 to 7 for both single-ended and differential measurements:
RETURN VALUE
A voltage value corresponding to the voltage on the analog input channel.
SEE ALSO
anaInCalib, anaIn, brdInit, anaInmAmps, anaInDiff
float anaInVolts(int channel, int gaincode);
channel
Single-Ended Input
0 +AIN0
1 +AIN1
2 +AIN2
3 +AIN3
4 +AIN4
5 +AIN5
6 +AIN6
7 +AIN7
Gain Code Macro Gain
Voltage
Range
0
GAIN_X1
×1 0–20 V
1
GAIN_X2
×2 0–10 V
2
GAIN_X4
×4 0–5 V
3
GAIN_X5
×5 0–4 V
4
GAIN_X8
×8 0–2.5 V
5
GAIN_X10
×10 0–2 V
6
GAIN_X16
×16 0–1.25 V
7
GAIN_X20
×20 0–1 V
Comments to this Manuals