Returns the DMA transfer status register.
GxFpgaDmaGetTransferStatus (nHandle, pnDmaStatus, pnStatus)
Name |
Type |
Comments |
nHandle |
SHORT |
Handle to a GX3700 board. |
pnDmaStatus |
SHORT |
0. No DMA Transfer. 1. DMA Transfer is in progress. |
pnStatus |
PSHORT |
Returned status: 0 on success, negative number on failure. |
The following example returns the DMA transfer status:
SHORT nDmaStatus;
GxFpgaDmaGetTransferStatus (nHandle, &nDmaStatus, &nStatus);