AR-B104D Software Programming Guide
19
2.3.31 SetPGCycle
♦ Description
Set the pulse generator cycles of the selected output channel.
♦ Syntax
XXX_SetPGCycle (i16 CardNum, i16 ChannelNum, u16 Cycle)
♦ Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Cycle: The number of the related pulse generator running cycle.
2.3.32 GetPGCycle
♦ Description
Get the pulse generator cycles of the selected output channel.
♦ Syntax
XXX_GetPGCycle (i16 CardNum, i16 ChannelNum, u16* Cycle)
♦ Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Cycle: The memory address of buffer to put the number of the related
pulse generator running cycle.
2.3.33 SetPG
♦ Description
Set all pulse generator parameters of the selected output channel and
immediately start the pulse generator.
♦ Syntax
XXX_SetPG (i16 CardNum, i16 ChannelNum, u8 Base, u8 High, u8 Low,
u16 Cycle)
♦ Argument
CardNum: The card number of AR-B104D. Range from 1~4.
ChannelNum: Output channel number. Range from 0~11.
Base: The pulse generator timebase of the selected output channel. 0
indicates the base is 1 ms; 1 indicates the base is 100 ms.
High: The time of the related pulse generator remains high in one
cycle.
Comentários a estes Manuais