66
eDisplay (OP7200)
Calibrates the response of the A/D converter channel as a linear function using the two conversion points
provided. Four values are calculated and placed into global table
_adcCalib
to be stored later into
using the function
anaInEEWr()
. Each channel will have the following information:
a linear constant,
a voltage offset,
a calculation gain code used to calculate calibrations, and
a user gain code to set voltage range (defaults to the calculation gain code).
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:
int anaInCalib(int channel, int opmode,
int gaincode, int value1, float volts1,
int value2, float volts2);
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: ......