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.
-2 if there is no valid ID block.
SEE ALSO
anaInEEWr, anaInCalib
RabbitCore RCM3700 User's Manual
Voltage Range
Gain Code
(V)
0
0–20
1
0–10
2
0–5
3
0–4
4
0–2.5
5
0–2
6
0–1.25
7
0–1
* Applies to RCM3700 Prototyping
Board.
*
54