Without Calibration Program:
Example: Channel 0, bipolar +-10V
Offset
ADC0 to 0V:
- apply 0V to ADC0
echo "setda0 0" > /proc/xadio/xadio0/control - Set the value 0x8000 (32768) on offset1* using the variable resistor
cat /proc/xadio/xadio0/values
Amplification (Gain)
ADC0 to +10V:
- apply +10V to ADC0
echo "setda0 0x20C00" > /proc/xadio/xadio0/control - Set the value 0xFD00 oder 0xFFFF on gain 1 using the variable resistor**
cat /proc/xadio/xadio0/values
* Channel 0 correspondes to Offset 1. Channel 1 to Offset 2 and so forth.
** Two possible sensitives are configurable.
- The value 0xFD00 correspondes to 3200 Dig/V » is for the ±10V measurement range with reserve.
- The value 0xFFFF correspondes to 3276,8 Dig/V » is for the ±10V measurement range without reserve.
With the Calibration Program:
This small helper application considerable eases the calibration of the card. The card can be easily, quickly, and accurately calibrated through the request of multiple selections.