HP (Hewlett-Packard) 9112 Series Network Card User Manual


 
54
C/C++ Library
C/C++ ( DOS)
int _9112_AD_DMA_Status(int card_number, int *status , int
*count )
u Argument
card_number : the card number of PCI-9112
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.
u Return Code
ERR_NoError, ERR_BoardNoInit
u Example
See Demo Program 'AD_DEMO3.C' , 'AD_DEMO6.C'
5.16 _9112_AD_DMA_Stop
u Description
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.
u Syntax
Visual C++ (Windows-95)
int W_9112_AD_DMA_Stop (int card_number, int * count)
Visual Basic (Windows-95)
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 )
u Argument
card_number : the card number of PCI-9112
count : the number of A/D converted data which has been
transferred.
u Return Code
ERR_NoError
ERR_BoardNoInit
u Example
See Demo Program 'AD_DEMO3.C', ‘AD_DEMO6.C’