ADLINK ACL-8112 Series User Manual
Page 74
66
• C Language Library
7.9 _8112_AD_Set_Range
Description
This function is used to set the A/D analog input range by means of
writing data to the A/D range control register. There are two factors that
will effect the analog input range - Gain and Input type.
The Gain can be any of the following factors 0.5, 1, 5, 10, 50, 100, 500,
and 1,000 for the ACL-8112HG card.
The input type is either Bipolar or Unipolar.
The initial value of the gain is '1‘ and input type is bipolar, which is pre-
set by the ACL-8112 hardware. The relationship between analog input
voltage range, gain and input mode are specified in the following tables:
** this table only applies to the ACL-8112HG ( high gain) card.
AD_INPUT
GAIN
Input type
(Bipolar or
Unipolar)
Input Range
AD_B_5_V 1
Bipolar
±5V
AD_B_0_5_V 10
Bipolar
±0.5V
AD_B_0_05_V 100
Bipolar
±0.05V
AD_B_0_005_V
1,000 Bipolar
±0.005V
AD_U_10_V
1
Unipolar
0V ~ 10V
AD_U_1_V
10
Unipolar
0V ~ 1V
AD_U_0_1_V
100
Unipolar
0V ~ 0.1V
AD_U_0_01_V
1,000
Unipolar
0V ~ 0.01V
AD_B_10_V 0.5
Bipolar
±10V
AD_B_1_V 5
Bipolar
±1V
AD_B_0_1_V 50
Bipolar
±0.1V
AD_B_0_01_V 500
Bipolar
±0.01V