C/C++ Library for DOS
•
25
Ø
Syntax
int _8113_Gain_Select (int gain_code )
Ø
Argument
gain_code
:
the programmable gain of A/D conversion, the
possible values are:
AD_GAIN_1, AD_GAIN_2, AD_GAIN_4,
and AD_GAIN_8.
Ø
Return Code
ERR_NoRrror
ERR_InvalidBoardNumber
ERR_BaseAddressError
Ø
Example
#include "8113.h"
main()
{
_8113_Initial( CARD_1, 0x220 );
/* Assume NoError when Initialize ACL-8113A */
_8113_Gain_Select( AD_GAIN_8 );
printf( "The gain of AD channels is now 8
times.\n" );
/* If the input range is biploar, then the analog
voltage is bewteen
±
0.625V */
...
}
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: ......