GxAoStandardWaveformSetTransitionGroup

Purpose

Sets a group’s synchronization group for fast transition.

Applied To

GX1632e

Syntax

GxAoStandardWaveformSetTransitionGroup (nHandle, nGroup, nTransitionGroup, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1632e board.
nGroup
SHORT
Group number:
0.      GXAO_GROUPA
1.      GXAO_GROUPB
2.      GXAO_GROUPC
3.    GXAO_GROUPD  
nTransitionGroup
SHORT
Transition group number:
0.      GXAO_GROUPA
1.      GXAO_GROUPB
2.      GXAO_GROUPC
3.    GXAO_GROUPD  
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

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.

Example

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);

}

 

See Also

GxAoStandardWaveformEnable, GxAoStandardWaveformSetTransitionChannel, GxAoStandardWaveformGetTransitionGroup, GxAoGetErrorString