C/C++ Library
•
41
5.3 _8216_Switch_Card_No
@ Description
This function is used on dual-cards system. After initialized two ACL-
8216 cards, this function is u sed to select which card is used
currently.
Note:
In this library, only two ACL-8216 can be initialized. The reason is
only two DMA channels are supported in the card.
@ Syntax
int _8216_Switch_Card_No(int card_number)
@ Argument
card_number:
The card number to be initialized, only
two cards can be initialized, the card
number must
be CARD_1 or CARD_2.
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
@ Example
#include "8216.h"
main()
{
_8216_Initial( CARD_1, 0x210 );
_8216_Initial( CARD_2, 0x220 );
/* Assume NoError when Initialize ACL-8216 */
_8216_Switch_Card_No( Card_1 );
/*
..... You can perform certain functions
to Card_1 here
*/
_8216_Switch_Card_No( Card_2 );
/*
..... You can perform certain functions
to Card_2 here
*/
}
Содержание NuDAQ ACL-8216
Страница 1: ...N u D A Q ACL 8216 16 bit High Resolution Data Acquisition Card User s Guide...
Страница 3: ......
Страница 7: ......
Страница 14: ...Installation 7 Figure 2 1 PCB Layout of the ACL 8216...
Страница 17: ...10 Installation...
Страница 27: ......
Страница 45: ......
Страница 55: ...48 C C Library...
Страница 58: ...C C Library 51...
Страница 62: ...C C Library 55 int count int ad_buffer unsigned int c1 unsigned int c2...
Страница 65: ...58 C C Library...
Страница 71: ......
Страница 75: ......
Страница 77: ......