C/C++ Libraries
•
43
clear_fifo :
0: retain the FIFO data
1: clear FIFO data before perform digital input
disable_di :
0: digital input operation still active after DMA transfer complete
1: disable digital input operation immediately when DMA transfer
complete
@ Return Code
ERR_NoError
ERR_BoardNoInit
ERR_InvalidDIOMode
ERR_InvalidDIOCnt
ERR_NotDWordAlign
ERR_DMATransferNotAllowed
5.18 _7200_DI_DMA_Status
@ Description
Since the _7200_DI_DMA_Start function is executed in background, you
can issue this function to check its operation status. This function only works
when double-buffer mode is set as disable.
@ Syntax
Visual C++ (Windows 95)
int W_7200_DI_DMA_Status (U8 *status, U32 *count)
Visual Basic (Windows 95)
W_7200_AD_Status (status As Byte, count As Long ) As Long
C/C++ (DOS)
int _7200_AD_DMA_Status (U8 *status, U32 *count)
@ Argument
status : status of the DMA data transfer
0 : DI_DMA_STOP : DMA is completed
1 : DI_DMA_RUN : DMA is not completed
count : the numbers of DI data which has been transferred.
@ Return Code
ERR_NoError