Sets a group’s synchronization group for fast transition.
Applied To
GX1632e
GxAoStandardWaveformSetTransitionGroup (nHandle, nGroup, nTransitionGroup, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1632e board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPD |
nTransitionGroup |
SHORT |
Transition group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPD |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function will specify which group that the specified group is synchronizing with for fast transitions. The synchronization channel from that group will be used to the specified group as well as any of its followers. 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, GxAoStandardWaveformSetTransitionChannel, GxAoStandardWaveformGetTransitionGroup, GxAoGetErrorString