User’s Manual
65
4.5.5 A/D Converter Inputs (OP7200 only)
Reads the state of an analog input channel.
PARAMETERS
channel
is the analog input channel number (0 to 7) corresponding to AIN0–AIN7:
opmode
is the mode of operation:
0
=
SE_MODE
—single-ended input line
1
=
DIFF_MODE
—differential input line
2
=
mAMP_MODE
—4–20 mA input line
gaincode
is the gain code of 0 to 7 for both single-ended and differential measurements:
RETURN VALUE
A value corresponding to the voltage on the analog input channel, which will be:
0–2047 for 11-bit A/D conversions (signed 12th bit)
SEE ALSO
anaInVolts, anaInCalib, brdInit, anaInmAmps, anaInDiff
unsigned int anaIn(int channel, int opmode,
int gaincode);
channel
Single-Ended Input
Differential Input
0
+AIN0
+AIN0 -AIN1
1
+AIN1
—
2
+AIN2
+AIN2 -AIN3
3
+AIN3
—
4
+AIN4
+AIN4 -AIN5
5
+AIN5
—
6
+AIN6
+AIN6 -AIN7
7
+AIN7
—
Gain Code
Macro
Gain
0
GAIN_X1
×1
1
GAIN_X2
×2
2
GAIN_X4
×4
3
GAIN_X5
×5
4
GAIN_X8
×8
5
GAIN_X10
×10
6
GAIN_X16
×16
7
GAIN_X20
×20
Содержание eDisplay OP7200
Страница 1: ...eDisplay OP7200 VGA Operator Control Panel User s Manual 019 0116 060831 J...
Страница 6: ...eDisplay OP7200...
Страница 14: ...8 eDisplay OP7200...
Страница 22: ...16 eDisplay OP7200...
Страница 52: ...46 eDisplay OP7200...
Страница 126: ...120 eDisplay OP7200...
Страница 132: ...126 eDisplay OP7200...
Страница 133: ...User s Manual 127 APPENDIX A SPECIFICATIONS Appendix A provides the specifications for the OP7200...
Страница 152: ...146 eDisplay OP7200...
Страница 168: ...162 eDisplay OP7200...
Страница 172: ...166 eDisplay OP7200...
Страница 174: ......