![background image](http://html2.mh-extra.com/html/rabbit/fox-lp3500/fox-lp3500_user-manual_3120132073.webp)
User’s Manual
67
Writes the calibration constants, gain, and offset for an input based on its designated channel code posi-
tion from global table
_adcCalib
. The constants are stored in the top 1K of the reserved user block
memory area 0x1C00–0x1FFF.
NOTE:
This function cannot be run in RAM.
PARAMETER
channel
is the analog input channel number (0 to 7) corresponding to AIN0–AIN7.
opmode
is the mode of operation:
SINGLE
—single-ended input line
DIFF
—differential input line
mAMP
—milliamp input line
gaincode
is the gain code of 0 to 7. The
gaincode
parameter is ignored when
channel
is
ALLCHAN
.
RETURN VALUE
0 if successful.
-1 if address is invalid or out of range.
SEE ALSO
anaInEEWr, anaInCalib
int anaInEEWr(unsigned int channel, int opmode
unsigned int gaincode);
channel
SINGLE
DIFF
mAMP
0
+AIN0
+AIN0 -AIN1
+AIN0
1
+AIN1
—
+AIN1
2
+AIN2
+AIN2 -AIN3
+AIN2
3
+AIN3
—
+AIN3
4
+AIN4
+AIN4 -AIN5
—
5
+AIN5
—
—
6
+AIN6
+AIN6 -AIN7
—
7
+AIN7
—
—
ALLCHAN
read all channels for selected
opmode
Gain Code
Voltage
Range
0
0–20 V
1
0–10 V
2
0–5 V
3
0–4 V
4
0–2.5 V
5
0–2 V
6
0–1.25 V
7
0–1 V
Содержание Fox LP3500
Страница 1: ...Fox LP3500 C Programmable Single Board Computer User s Manual 019 0111 081121 L...
Страница 6: ...Fox LP3500...
Страница 14: ...8 Fox LP3500...
Страница 22: ...16 Fox LP3500...
Страница 44: ...38 Fox LP3500...
Страница 90: ...84 Fox LP3500...
Страница 108: ...102 Fox LP3500 glFillCircle glPlotPolygon glFillPolygon...
Страница 134: ...128 Fox LP3500...
Страница 140: ...134 Fox LP3500...
Страница 142: ......