Acrosser AR-B104D User Manual
Page 19
![background image](/manuals/732899/19/background.png)
AR-B104D Software Programming Guide
15
2.3.19 WriteOutputChannel
♦
Description
Write the status of the selected output channel on the selected AR-104D
card.
♦
Syntax
XXX_WriteOutputChannel (i16 CardNum, i16 ChannelNum, u8 Value)
♦
Argument
CardNum: The number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Value: The channel status. 0 indicates output low; 1 indicates output
high.
2.3.20 ReadOutputChannel
♦
Description
Read the status of the selected output channel on the selected AR-104D
card.
♦
Syntax
XXX_ReadOutputChannel (i16 CardNum, i16 ChannelNum, u8* Value)
♦
Argument
CardNum: The number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Value: The channel status. 0 indicates output low; 1 indicates output
high.
2.3.21 SetOutputMode
♦
Description
Set the output operation mode of the selected output channel.
♦
Syntax
XXX_SetOutputMode (i16 CardNum, i16 ChannelNum, u8 Mode)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Mode: The output operation type of the selected output channel. 0
indicates the output channel works as a general-purpose output; 1
indicates the output channel works as a pulse generator.