Returns the DIO sequencer status.
GX1649, GX1649-1
GxAoDioGetStatus (nHandle, pdwStatus, pnStatus)
Name |
Type |
Description |
nHandle |
SHORT |
Handle to a GX1649 board. |
pdwStatus |
PDWORD |
Returned the status of the DIO:Bit 0: DIO Sequencer is RunningBit 1: DIO Sequencer is Armed and ready for start trigger |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example checks if the DIO is running
DWORD dwStatus;
GxAoDioGetStatus(nHandle, &dwStatus, &nStatus);
if ((dwStatus & 0x1)==1) printf(“DIO is running”);