HP (Hewlett-Packard) PCI-9111DG/HR Manual De Usuario

Descargar
Página de 83
62 
 C/C++ Library 
5.41  _9111_AD_INT_Status 
@ Description  
This function is used to check the status of interrupt operation. The 
_9111_AD_INT_Start() is executed on background, therefore you can 
issue this function to check the status of interrupt operation.  While all the 
specified counts of data are acquired, the interrupt status will be changed 
to “AD_INT_STOP”. 
@ Syntax  
C/C++ (DOS) 
U16 _9111_AD_INT_Status (U16 cardNo, U16 *status, U16 *count) 
C/C++ (Windows 95) 
U16 W_9111_AD_INT_Status (U16 cardNo, U16 *status, U16 *count) 
Visual Basic (Windows 95) 
W_9111_AD_INT_Status (ByVal cardNo As Integer, status As 
Integer, count As Integer) As Integer 
@ Argument 
cardNo: 
the card number of PCI-9111 card initialized. 
status: 
the status of the INT data transfer, the valid status code 
are the following: 
 
  AD_INT_RUN 
 
  AD_INT_STOP 
count: 
the A/D conversion count number performed currently 
@ Return Code  
ERR_NoError 
 
5.42  _9111_AD_FFHF_INT_Status 
@ Description  
This function is used to check the status of interrupt operation using AD 
FIFO Half Full Interrupt Transfer Mode. The _9111_AD_FFHF_INT_Start 
is executed on background, therefore you can issue this function to check 
the status of interrupt operation.  While all the specified blocks of data are 
acquired, the interrupt status will be changed to  
 “AD_FFHF_BLOCK_FULL”. 
@ Syntax 
C/C++ (DOS) 
U16 _9111_AD_FFHF_INT_Status (U16 cardNo, U16 *status, U16 
*blockNo)