GxAoArbGetGroupStatus

Purpose

Returns the group ARB sequencer status.

Applies

GX1649, GX1649-1, GX1632e

Syntax

GxAoArbGetGroupStatus (nHandle, nGroup, pdwStatus, pnStatus)

Parameters

Name
Type
Description
nHandle
SHORT
Handle to a GX1649 or GX1632e board.
nGroup
SHORT
Group number:
0.   GXAO_GROUPA
1.   GXAO_GROUPB
2.   GXAO_GROUPC
3.   GXAO_GROUPD
pdwStatus

PDWORD

Returned the status of a Group’s ARB:
Bit 0: ARB Sequencer is Running
Bit 1: ARB Sequencer is Armed and ready for start trigger
pnStatus
PSHORT
Returned status: 0 on success, negative number on failure.

Comments

All channels configured to generate waveform have the size waveform length.

Example

The following example checks if ARB group B is running

 

DWORD dwStatus;

SHORT nStatus;

 

GxAoArbGetGroupStatus(nHandle, GXAO_GROUPB, &dwStatus, &nStatus);

if (dwStatus & 0x1) printf(“Group B ARB is running”);

 

See Also

GxAoArbSetGroupChannels, GxAoArbReadWaveform, GxAoGetErrorString