24
•
C/C++ Library for DOS
printf( "AD channel 3 is now selected.\n" );
_8113_Channel_Select( 5); /* channel 5 is selected */
_8113_Channel_Select( 7); /* channel 7 is selected */
.
.
_8113_MAD_Acquire( );
/* The analog signals in channel 3, 5 and 7 will be converted
to digital data and save in the Data8113[3], Data8113[5],
and Data8113[7] */
.
.
..
_8113_Channel_Clear();
/* all the channels in the selected list are removed */
}
5.6 _8113_Gain_Select
Ø
Description
This function is used to set the A/D gain by means of software. The initial
value of gain is '
x1
' which is set by the ACL-8113A hardware. The
relationships between gain and input voltage ranges are specified by
following tables:
When input voltage range is set +10V(JP1) and Bipolar mode(JP2), the
relationship between gain and input voltage range is listed in the following
table.
Input Range (V)
Gain
Gain Code
±
5 V
X 1
AD_GAIN_1
±
2.5 V
X 2
AD_GAIN_2
±
1.25 V
X 4
AD_GAIN_4
±
0.625 V
X 8
AD_GAIN_8
When input voltage range is set +10V(JP1) and Uni-polar mode(JP2), the
relationship between gain and input voltage range is listed in the following
table.
Input Range (V)
Gain
Gain Code
0 ~ 10 V
X 1
AD_GAIN_1
0 ~ 5 V
X 2
AD_GAIN_2
0 ~ 2.5 V
X 4
AD_GAIN_4
0 ~ 1.25 V
X 8
AD_GAIN_8
Summary of Contents for NuDAQ ACL-8113A
Page 1: ...NuDAQ ACL 8113A 12 bit 32 Channels Isolated Analog Input Card User s Guide ...
Page 3: ......
Page 7: ......