GxAoGetGroupUpdateState

Purpose

Returns whether the group channels loaded values were loaded to it DACs.

Syntax

GxAoGetGroupUpdateState (nHandle, nGroup, pbUpdated, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX16xx board.
nGroup
SHORT
Group number:
0.    GXAO_GROUPA
1.    GXAO_GROUPB
2.    GXAO_GROUPC
3.    GXAO_GROUPD
pbUpdated
PBOOL
Returns low if the specified group was not updated, high if it was updated.
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

Loading new value to any or all the specified group channels using GxAoSetChannelVoltage will set pbUpdated to FALSE. Updating the specified group channels will set load the value to the board DAC and will cause pbUpdated to return TRUE.

Example

The following example returns group A external update enable state:

 

SHORT nStatus;

BOOL  bUpdated;

 

GxAoGetGroupUpdateState (nHandle, GXAO_GROUPA, &bUpdated, &nStatus);

 

See Also

GxAoGetGroupExternalUpdate, GxAoSetChannelVoltage, GxAoLoadChannelVoltage, GxAoUpdateGroupVoltage, GxAoGetErrorString