
56
RabbitCore RCM4000
Reads the state of an analog input channel and uses the previously set calibration constants 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.
ADTIMEOUT
(defined macro = -4095) if conversion is incomplete or busy-bit timeout.
SEE ALSO
anaInCalib, anaIn, anaInVolts
float anaInmAmps(unsigned int channel);
Channel Code
4–20 mA
Input Lines
*
* Negative input is ground.
0
+AIN0
1
+AIN1
2
+AIN2
3
+AIN3
†
† Applies to Prototyping Board.
4
+AIN4*
5
+AIN5*
6
+AIN6*
7
+AIN7
Summary of Contents for RabbitCore RCM4000
Page 6: ...RabbitCore RCM4100...
Page 12: ...6 RabbitCore RCM4000...
Page 20: ...14 RabbitCore RCM4000...
Page 46: ...40 RabbitCore RCM4000...
Page 68: ...62 RabbitCore RCM4000...
Page 82: ...76 RabbitCore RCM4000...
Page 96: ...90 RabbitCore RCM4000...
Page 114: ...108 RabbitCore RCM4000...
Page 118: ...112 RabbitCore RCM4000...
Page 122: ...116 RabbitCore RCM4000...
Page 124: ......