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
*/
}
Содержание NuDAQ ACL-8113A
Страница 1: ...NuDAQ ACL 8113A 12 bit 32 Channels Isolated Analog Input Card User s Guide ...
Страница 3: ......
Страница 7: ......