C/C++ ( DOS)
int _9112_AD_DMA_Status(int card_number, int *status , int *count )
uArgument
card_number : the card number of
status : status of the DMA data transfer
0:AD_DMA_STOP : DMA is completed
1:AD_DMA_RUN : DMA is not completed
count : the number of A/D data which has been transferred.
uReturn Code
ERR_NoError, ERR_BoardNoInit
uExample
See Demo Program 'AD_DEMO3.C' , 'AD_DEMO6.C'
5.16 _9112_AD_DMA_Stop
uDescription
This function is used to stop the DMA data transferring. After executing this function, the internal A/D trigger is disable and the A/D timer ( timer #1 and #2) is stopped. The function returns the number of the data which has been transferred, no matter if the A/D DMA data transfer is stopped by this function or by the DMA terminal count ISR.
uSyntax
Visual C++
int W_9112_AD_DMA_Stop (int card_number, int * count)
Visual Basic
W_9112_AD_DMA_Stop (ByVal card_number As Long, count As Long) As Long
C/C++ ( DOS)
int _9112_AD_DMA_Stop (int card_number, int *count )
uArgument
card_number : the card number of
count : the number of A/D converted data which has been transferred.
uReturn Code
ERR_NoError
ERR_BoardNoInit
uExample
See Demo Program 'AD_DEMO3.C', ‘AD_DEMO6.C’