GxAoStandardWaveformSetTransitionChannel

Purpose

Sets a group’s synchronization channel for fast transition.

Applied To

GX1632e

Syntax

GxAoStandardWaveformSetTransitionChannel (nHandle, nGroup, nTransitionChannel, 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  
nTransitionChannel
SHORT
Channel number:
0.      GXAO_CHANNEL_0
1.      GXAO_CHANNEL_1
2.      GXAO_CHANNEL_2
3.      GXAO_CHANNEL_3
4.      GXAO_CHANNEL_4
5.      GXAO_CHANNEL_5
6.      GXAO_CHANNEL_6
7.    GXAO_CHANNEL_7
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

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.

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, GxAoStandardWaveformGetTransitionChannel, GxAoStandardWaveformSetTransitionGroup, GxAoGetErrorString