beautypg.com

ADLINK PCI-8554 User Manual

Page 57

background image

C/C++ Libraries • 47

5.9 _8554_DI

@ Description

Read an 8-bit data from the digital input port.

@ Syntax

C/C++ (DOS)

U16 _8554_DI (U16 cardNo, U16 *diData)

C/C++ (Windows 95)

U16 W_8554_DI (U16 cardNo, U16 *diData)

Visual Basic (Windows 95)

W_8554_DI (ByVal cardNo As Integer, diData As Integer) As

Integer

@ Arguments

cardNo:

card number to be selected

doData:

the value read from the digital input port

@ Return Value

ERR_NoError, ERR_BoardNoInit