Returns whether the group channels loaded values were loaded to it DACs.
GxAoGetGroupUpdateState (nHandle, nGroup, pbUpdated, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX16xx board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. 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. |
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.
The following example returns group A external update enable state:
SHORT nStatus;
BOOL bUpdated;
GxAoGetGroupUpdateState (nHandle, GXAO_GROUPA, &bUpdated, &nStatus);
GxAoGetGroupExternalUpdate, GxAoSetChannelVoltage, GxAoLoadChannelVoltage, GxAoUpdateGroupVoltage, GxAoGetErrorString