Rabbit Core RCM3700 User Manual page 54

C-programmable core module with ethernet, serial flash, and enhanced software
Hide thumbs Also See for Core RCM3700:
Table of Contents

Advertisement

float anaInmAmps(unsigned int channel);
Reads the state of an analog input channel and uses the calibration constants previously set using
anaInCalib to convert it to current.
PARAMETERS
channel is the channel number (0–7)
RETURN VALUE
A current value between 4.00 and 20.00 mA corresponding to the current on the analog input channel.
ADOVERFLOW (defined macro = -4096) if overflow or out of range.
SEE ALSO
anaInCalib, anaIn, anaInVolts
RabbitCore RCM3700 User's Manual
4–20 mA
Channel Code
Input Lines
0
+AIN0
1
+AIN1
2
+AIN2
3
+AIN3
4
+AIN4*
5
+AIN5*
6
+AIN6*
7
+AIN7
* Negative input is ground.
† Applies to RCM3700 Prototyp-
ing Board.
*
52

Advertisement

Table of Contents
loading

Table of Contents