Z-World Fox LP3500 User Manual page 67

C-programmable single-board computer
Table of Contents

Advertisement

float anaInDiff(unsigned int channel, unsigned int
gaincode);
Reads the state of a differential analog input channel and uses the previously set calibration constants to
convert it to volts.
PARAMETER
channel is the channel number (0, 2, 4, 6):
gaincode is the gain code of 0 to 7.
RETURN VALUE
A voltage value corresponding to the voltage on the analog input channel.
ADOVERFLOW (defined macro = -4096) if overflow or out of range.
SEE ALSO
anaInCalib, anaIn, anaInmAmps, brdInit
User's Manual
Differential
Channel
Input Lines
0
+AIN0 -AIN1
2
+AIN2 -AIN3
4
+AIN4 -AIN5
6
+AIN6 -AIN7
Voltage
Gain Code
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
61

Advertisement

Table of Contents
loading

Related Products for Z-World Fox LP3500

Table of Contents