Sets a group’s synchronization channel for fast transition.
Applied To
GX1632e
GxAoStandardWaveformSetTransitionChannel (nHandle, nGroup, nTransitionChannel, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1632e board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPD |
nTransitionChannel |
SHORT |
Channel number:0. GXAO_CHANNEL_01. GXAO_CHANNEL_12. GXAO_CHANNEL_23. GXAO_CHANNEL_34. GXAO_CHANNEL_45. GXAO_CHANNEL_56. GXAO_CHANNEL_67. GXAO_CHANNEL_7 |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function will set which channel within a group that the specified group is synchronizing with for fast transitions. Synchronization will use the specified transition channel for the selected transition group. Fast transition is described in detail in the comments for GxAoStandardWaveformEnable.
The following example sets the synchronization group and channel for the board to group A, channel 0:
SHORT nStatus, nChannel;
for (int iGroup=GXAO_GROUPA; iGroup<=GXAO_GROUPD; iGroup++)
{ GxAoStandardWaveformSetTransitionChannel (nHandle, iGroup, GXAO_CHANNEL_0, &nStatus);
GxAoStandardWaveformSetTransitionGroup (nHandle, iGroup, GXAO_GROUPA, &nStatus);
GxAoStandardWaveformEnable, GxAoStandardWaveformGetTransitionChannel, GxAoStandardWaveformSetTransitionGroup, GxAoGetErrorString