User’s Manual
73
Writes the calibration constants, gain, and offset for an input based on its designated channel code
position from global table
_adcCalib
. The constants are stored in the top 1K of the reserved user
block memory area. Use the sample program
USERBLOCKINFOR.C
in
SAMPLES\OP7200
to get
the addresses reserved for the calibration data constants and the addresses available for use by your
program.
NOTE:
This function cannot be run in RAM.
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:
int anaInEEWr(unsigned int channel, int opmode,
unsigned 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
—
-1
ALL_CHANNELS
ALL_CHANNELS
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: ......