Returns the group ARB sequencer status.
GX1649, GX1649-1, GX1632e
GxAoArbGetGroupStatus (nHandle, nGroup, pdwStatus, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649 or GX1632e board. |
nGroup |
SHORT |
Group number:0. GXAO_GROUPA1. GXAO_GROUPB2. GXAO_GROUPC3. GXAO_GROUPD |
pdwStatus |
PDWORD |
Returned the status of a Group’s ARB:Bit 0: ARB Sequencer is RunningBit 1: ARB Sequencer is Armed and ready for start trigger |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
All channels configured to generate waveform have the size waveform length.
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”);
GxAoArbSetGroupChannels, GxAoArbReadWaveform, GxAoGetErrorString