9 _6308_di, Description, Syntax – ADLINK PCM-6308V+ User Manual
Page 47: Arguments, Return code, 6308_di, Description @ syntax @ arguments @ return code
Advertising

C/C++ Library
37
5.9 _6308_DI
@ Description
This function is used to read data from the digital input ports.
There are 4 digital input channels on the PCI-6308. The retrieved
value is stored in DIData.
@ 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
@ Arguments
cardNo:the card number of PCI-6308 cards
DIData:the value read from digital input port
@ Return Code
ERR_NoError
Advertising