Visual Basic (Windows 95)
W_9111_EDI (ByVal cardNo As Integer, DIData As Integer) As Integer
@ Argument |
|
cardNo: | The card number of |
DIData: | The value accessed from extended digital input port |
@Return Code
ERR_NoError
5.9_9111_EDO
@Description
There are 4 extended digital output channels on PCI_9111. This function is used to write data to extended digital output port. The extended digital output channels can be set as three modes (refer to section 6.2.10); however, the output EDO value can be put on the EDO pins only when the EDO mode is set as EDO_OUT_CHN. Therefore, the program should call _9111_Set_EDO_Function (refer to section 6.2.10) to set EDO mode as EDO_OUT_EDO before writing data to EDO channels.
@ Syntax
C/C++ (DOS)
U16 _9111_EDO (U16 cardNo, U16 DOData)
C/C++ (Windows 95)
U16 W_9111_EDO (U16 cardNo, U16 DOData)
Visual Basic (Windows 95)
W_9111_EDO (ByVal cardNo As Integer, ByVal DOData As Integer) As Integer
@ Argument |
|
cardNo: | The card number of |
DOData: | The value will be written to extended digital input port |
@Return Code
ERR_NoError
5.10_9111_EDO_Read_Back
@ Description
This function is used to read back the output data that is written to output port last time.
@ Syntax
C/C++ (DOS)
C/C++ Library ∙41