User`s guide

28 C/C++ Library
5.9 _6308_DI
@ Description
This function is used to read data from digital input ports. There
are 4 digital input channels on PCI-6308. The retrieved value is
stored in DIData. Note that
@ Syntax
C/C++ (DOS)
U16 _6308_DI (U16 cardNo, U16 *DIData)
C/C++ (Windows 95)
U16 W_6308_DI (U16 cardNo, U16 *DIData)
Visual Basic (Windows 95)
W_6308_DI (ByVal cardNo As Integer, DIData As Integer)
As Integer
@ Argument
cardNo: the card number of PCI-6308 cards
DIData: the value read from digital input port
@ Return Code
ERR_NoError