Manual

26
High-level Programming
4.3.2 _6128_Switch_Card_No
@ Description
This function is used on multi-cards systems. After the ACL-6128A cards
are initialized by the _6128_Initial function, you can use this function
to select which card to operate.
@ Syntax
int _6128_Switch_Card_No(int card_number)
@ Argument
card_number: The card number to be initialized, up to
8 cards can be initialized, the card
number must be within the range of 0 and
7.
@ Return Code
ERR_NoError
ERR_InvalidBoardNumber
4.3.3 _6128_DA
@ Description
This function is used to write data to D/A converters. There are two Digital-
to-Analog conversion channel in the ACL-6128A. The resolution of each
channel is 12 bits, providing a range from 0 to 4095.
@ Syntax
int _6128_DA( int da_ch_no, unsigned int da_data )
@ Argument
da_ch_no : The DA channel number, the value has to
be set a 0 or 1.
da_data : D/A converted value, if the value is
greater than 4095, the upper 4 bits are
negligent.
@ Return Code
ERR_NoError
ERR_BoardNoInit
ERR_InvalidDAChannel