User`s guide
50 C/C++ Library
5.4 _8316_Initial
@ Description
An ACL-8316/12 card is initialized according to the card number and the
corresponding base address. Every ACL-8316/12 Multi-Function Data
Acquisition Card have to be initialized by this function before calling other
functions.
@ Syntax
I16 _8316_Initial( U8 card_number,U16 base_addresss )
@ Argument
card_number: the card number to be initialized, up to three cards can be
initialized, the card number must be CARD_1, CARD_2 or
CARD_3.
base_address: the I/O port base address of the card, the default address
on the hardware setting is Hex 220.
@ Return Code
ERR_NoError, ERR_InvalidBoardNumber, ERR_BaseAddressError
5.5 _8316_Switch_Card_No
@ Description
This function is used when more than one ACL-8316/12 cards on your
system. After initialized more than one ACL-8316/12 card, this function is
used to select which card is active currently.
Note:
In this library, only three ACL-8316/12 can be initialized. The
reason is only three DMA channels are supported in the card.
@ Syntax
int _8316_Switch_Card_No( U8 card_number )
@ Argument
card_number: the card number to be initialized, only three cards can be
initialized, the card number must be CARD_1, CARD_2 or
CARD_3.
@ Return Code
ERR_NoError, ERR_InvalidBoardNumber, ERR_BoardNoIni