C Language Library
•
65
For ACL-8112DG card, the gain values only support 1, 2, 4, 8 four
levels. The relationship between analog input voltage range, gain and
input type are specified by table on next page.
** this table is suitable for ACL-8112DG ( low gain) card.
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
For ACL-8112DG card, the gain values suppst 1,2,4,8,and 16.
The initial value of gain is '1'. The relationship between gain and input
voltage ranges is specified by following tables:
when input voltage range is set to
±
5 V (JP9),
Gain Code
Gain
Input Range (V)
AD_GAIN_1
X 1
±
5 V
AD_GAIN_2
X 2
±
2.5 V
AD_GAIN_4
X 4
±
1.25 V
AD_GAIN_8
X 8
±
0.625 V
AD_GAIN_16
X 16
±
0.3125V
when input voltage range is set to
±
10 V(JP9),
Gain Code
Gain
Input Range (V)
AD_GAIN_1
X 1
±
10 V
AD_GAIN_2
X 2
±
5 V
AD_GAIN_4
X 4
±
2.5 V
AD_GAIN_8
X 8
±
1.25 V
AD_GAIN_16
X 16
±
0.625 V
Syntax
int _8112_AD_Set_Range( int ad_range )
int _8112pg_AD_Set_Gain( int ad_range )
Summary of Contents for ACL-8112 Series
Page 1: ...NuDAQ ACL 8112 Series Enhanced Multi Functions Data Acquisition Cards User s Guide ...
Page 4: ......
Page 40: ...32 Registers Format 1 1 1 1 1 000 Unipolar N A Table 4 2 1 Function of the Gain Control Bits ...
Page 44: ...36 Registers Format Base 14 DO15 DO14 DO13 DO12 DO11 DO10 DO9 DO8 ...
Page 46: ...38 Registers Format Base 2 Counter 2 Register R W Base 3 8254 CONTROL BYTE ...
Page 71: ...C Language Library 63 ...
Page 81: ...C Language Library 73 Example See Demo Program AD_Demo4 C ...
Page 85: ...C Language Library 77 ERR_AD_INTNotSet Example See demo program AD_Demo2 C ...