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

Descargar
Página de 83
C/C++ Library 
49 
5.21  _9111_AD_Get_Mode 
@ Description 
This function is used to get AD mode. Please refer to section 5.1.3 for the 
detailed description of AD trigger modes and section 5.1.5 for the 
description of Pre-Trigger mode control.    
@ Syntax 
C/C++ (DOS) 
U16 _9111_AD_Get_Mode (U16 cardNo, U16 *ADMode) 
C/C++ (Windows 95) 
U16 W_9111_AD_Get_Mode (U16 cardNo, U16 *ADMode) 
Visual Basic (Windows 95) 
W_9111_AD_Get_Mode (ByVal cardNo As Integer, ADMode As Integer) 
As Integer 
@ Argument  
cardNo: 
The card number of PCI-9111 card initialized 
ADMode: 
The value of AD mode.  The returned value could be one or a 
combination of the following modes: 
A_9111_AD_PreTrg_ON  
A_9111_AD_PreTrg_OFF   
A_9111_AD_External_SRC  
A_9111_AD_Internal_SRC  
A_9111_AD_TimerTrig  
A_9111_AD_SoftTrig  
A_9111_AD_AutoScan 
@ Return Code  
ERR_NoError 
 
5.22  _9111_INT_Set_Reg 
@ Description 
This function is used to select the interrupt sources by writing data to 
interrupt control register. Please refer to section 4.9 to learn how to set the 
interrupt control register.  
@ Syntax 
C/C++ (DOS) 
U16 _9111_INT_Set_Reg (U16 cardNo, U16 INTC) 
C/C++ (Windows 95) 
U16 W_9111_INT_Set_Reg (U16 cardNo, U16 INTC) 
Visual Basic (Windows 95)