User`s guide
54 • C/C++ Library
5.6 _9111_DI
@ Description
This function is used to read data from the digital input ports. There are 16
digital input channels on the PCI_9111. The digital input status can be
accessed using this function.
@ Syntax
C/C++ (DOS)
U16 _9111_DI (U16 cardNo, U16 *DIData)
C/C++ (Windows 95)
U16 W_9111_DI (U16 cardNo, U16 *DIData)
Visual Basic (Windows 95)
W_9111_DI (ByVal cardNo As Integer, DIData As Integer) As
Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
DIData: The value accessed from the digital input port
@ Return Code
ERR_NoError