GxAoStandardWaveformGetGroupSync

Purpose

Gets the synchronization state of the board.

Applied To

GX1632e

Syntax

GxAoStandardWaveformGetGroupSync (nHandle, pbEnable, pnStatus)

Parameters

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.

Comments

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.

Example

The following example determines whether group clocks will be synchronized:

 

SHORT nStatus;

BOOL  bEnable;

 

GxAoStandardWaveformGetGroupSync (nHandle, &bEnable, &nStatus);

 

See Also

GxAoStandardWaveformEnable, GxAoStandardWaveformSetChannelOutput, GxAoStandardWaveformSetGroupSync, GxAoGetErrorString