User guide
C++ Library • 59
AD_INPUT GAIN
Input type
(Bipolar or Unipolar)
Input Range
AD_B_5_V
1 Bipolar ±5V
AD_B_2_5_V
2 Bipolar ±2.5V
AD_B_1_25_V
4 Bipolar ±1.25V
AD_B_0_625_V
8 Bipolar ±0.625V
AD_U_10_V
1 Unipolar 0V ~ 10V
AD_U_5_V
2 Unipolar 0V ~ 5V
AD_U_2_5_V
4 Unipolar 0V ~ 2.5V
AD_U_1_25_V
8 Unipolar 0V ~ 1.25V
Diff:
differential/single-ended input selection:
SINGLE_ENDED (or 0):
single-ended
DIFFERENTIAL (or 1):
differential
cmmd_sel:
common mode reference selection when
single-ended mode is selected:
0:
input signals are referenced to system ground
1:
input signals are referenced to U_CMMD (pin1 of
J1)
@ Return Code
ERR_NoError
ERR_InvalidADChannel
ERR_BoardNoInit
ERR_InvalidADGain