User`s guide

22 C/C++ Library for DOS
5.4 _8113_ActCard_Set
Description
This function is used to switch active card which the A/D operations can be
applied. After more than one cards are initialized by the function
_8113_Initial, you have to use this function to select which card is activate
currently.
Note: In this library, up to eight ACL-8113A cards can be initialized.
Syntax
int _8113_ActCard_Set( int card_number)
Argument
card_number: The card number must be initialized; up to 8
cards can be initialized in one system. The valid
vaule is from 0 to 7.
Return Code
ERR_NoRrror
ERR_InvalidBoardNumber
ERR_BaseAddressError
Example
#include "8113.h"
main()
{
_8113_Initial( CARD_1, 0x210 );
_8113_Initial( CARD_2, 0x220 );
/* Assume NoError when Initialize ACL-8113A */
_8113_ActCard_Set( CARD_1 );
/*..... You can perform certain functions to Card_1
here */
_8113_ActCard_Set( CARD_2 );
/*..... You can perform certain functions to Card_2
here */
}