Gets the synchronization state of the board.
Applied To
GX1632e
GxAoStandardWaveformGetGroupSync (nHandle, pbEnable, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1632e board. |
pbEnable |
PBOOL |
Return TRUE if group clocks are synchronized. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
This function will report whether the board is programmed to synchronize clock outputs. If clocks are synchronized, groups B, C, and D will use Group A’s clock instead of their own internally generated clock. This does not affect individual channel’s output frequencies. Use GxAoStandardWaveformIsRunning to determine if the board is generating standard waveforms.
The following example determines whether group clocks will be synchronized:
SHORT nStatus;
BOOL bEnable;
GxAoStandardWaveformGetGroupSync (nHandle, &bEnable, &nStatus);
GxAoStandardWaveformEnable, GxAoStandardWaveformSetChannelOutput, GxAoStandardWaveformSetGroupSync, GxAoGetErrorString