User`s guide
58 • C/C++ Library
5.10 _9111_EDO_Read_Back
@ Description
This function is used to read back the output data that is written to the
output port previously.
@ Syntax
C/C++ (DOS)
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 the PCI-9111 can be used as a 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 the 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 the EDO pins, valid modes are:
EDO_INPUT, EDO_OUT_EDO, EDO_OUT_CHN
@ Return Code
ERR_NoError