Acrosser AR-B104D User Manual
Page 20
![background image](/manuals/732899/20/background.png)
AR-B104D Software Programming Guide
16
2.3.22 GetOutputMode
♦
Description
Get the output operation mode of the selected output channel.
♦
Syntax
XXX_GetOutputMode (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 memory address of buffer to put the output operation mode
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.
2.3.23 SetPGState
♦
Description
Set the pulse generator state of the selected output channel.
♦
Syntax
XXX_SetPGState (i16 CardNum, i16 ChannelNum, u8 State)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
State: The pulse generator state of the selected output channel. 0
indicates the related pulse generator is running; 1 indicates the related
pulse generator is stopped.
2.3.24 GetPGState
♦
Description
Get the pulse generator state of the selected output channel.
♦
Syntax
XXX_SetPGState (i16 CardNum, i16 ChannelNum, u8* State)
♦
Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: output channel number. Range from 0~11.
State: The memory address of buffer to put the pulse generator state of
the selected output channel. 0 indicates the related pulse generator is
running; 1 indicates the related pulse generator is stopped.