Z-World Fox LP3500 User Manual page 63

C-programmable single-board computer
Table of Contents

Advertisement

int anaInCalib(int channel, int opmode,
int gaincode, int value1, float volts1,
int value2, float volts2);
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 store
into simulated EEPROM 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).
NOTE: Vcc monitoring is disabled when
PARAMETERS
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
channel
User's Manual
SINGLE
0
+AIN0
1
+AIN1
2
+AIN2
3
+AIN3
4
+AIN4
5
+AIN5
6
+AIN6
7
+AIN7
is running.
anaInCalib
DIFF
mAMP
+AIN0 -AIN1
+AIN0
+AIN1
+AIN2 -AIN3
+AIN2
+AIN3
+AIN4 -AIN5
+AIN6 -AIN7
57

Advertisement

Table of Contents
loading

Related Products for Z-World Fox LP3500

Table of Contents