User`s guide

52 C/C++ Library
5.8 _8316_DO
@ Description
This function is used to write data to digital output port. There are 16
digital outputs on the ACL-8316/12. You can control the digital outputs by
this function directly.
@ Syntax
I16 _8316_DO( U16 data )
@ Argument
data: value will be written to digital output port
@ Return Code
ERR_NoError, ERR_BoardNoInit
5.9 _8316_DO_Channel
@ Description
This function is used to write data to digital channel. There are 16 digital
outputs on the ACL-8316/12. You can control each digital output channel
by this function directly. After performing this function, the output status
of the special digital output channel will be changed to the do_data you
specified.
* channel means each bit of digital input ports.
@ Syntax
I16 _8316_DO_Channel( U8 do_ch_no, Boolean do_data )
@ Argument
do_ch_no: the DO channel number, the value has to be set
from 0 to 15.
do_data: value will be written to digital output port
@ Return Code
ERR_NoError, ERR_BoardNoInit, ERR_InvalidDOChannel