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

Descargar
Página de 83
42 
 C/C++ Library 
U16  _9111_EDO_Read_Back (U16 cardNo, U16 *DOData ) 
C/C++ (Windows 95) 
U16  W_9111_EDO_Read_Back  (U16 cardNo, U16 *DOData ) 
Visual Basic (Windows 95) 
W_9111_EDO_Read_Back (ByVal cardNo As Integer, DOData As 
Integer) As Integer 
@ Argument 
cardNo: 
The card number of PCI-9111 card initialized 
DOData: 
The read back value 
@ Return Code  
ERR_NoError 
 
5.11  _9111_Set_EDO_Function 
@ Description 
The 4 EDO channels on PCI-9111 can be used as digital output 
(EDO_OUT_EDO) , digital input (EDO_INPUT) or channel number output 
(EDO_OUT_CHN). This function is used to set the mode of EDO pins.  
@ Syntax 
C/C++ (DOS) 
U16  _9111_Set_EDO_Function (U16 cardNo, U16 x) 
C/C++ (Windows 95) 
U16  W_9111_Set_EDO_Function (U16 cardNo, U16 x ) 
Visual Basic (Windows 95) 
W_9111_Set_EDO_Function (ByVal cardNo As Integer, ByVal x As 
Integer) As Integer 
@ Argument  
cardNo: 
The card number of PCI-9111 card initialized 
x: 
The mode of EDO pins, the valid modes are as follows: 
 
EDO_INPUT, EDO_OUT_EDO, EDO_OUT_CHN 
@ Return Code  
ERR_NoError