HP NuDAQ I-9111DG/HR manual 11 9111SetEDOFunction

Models: NuDAQ I-9111DG/HR

1 83
Download 83 pages 54.21 Kb
Page 52
Image 52

U16 _9111_EDO_Read_Back (U16 cardNo, U16 *DOData )

C/C++ (Windows 95)

U16 W_9111_EDO_Read_Back (U16 cardNo, U16 *DOData )

Visual Basic (Windows 95)

W_9111_EDO_Read_Back (ByVal cardNo As Integer, DOData As Integer) As Integer

@ Argument

cardNo: The card number of PCI-9111 card initialized

DOData: The read back value

@Return Code

ERR_NoError

5.11_9111_Set_EDO_Function

@ Description

The 4 EDO channels on PCI-9111 can be used as digital output (EDO_OUT_EDO) , digital input (EDO_INPUT) or channel number output (EDO_OUT_CHN). This function is used to set the mode of EDO pins.

@ Syntax

C/C++ (DOS)

U16 _9111_Set_EDO_Function (U16 cardNo, U16 x)

C/C++ (Windows 95)

U16 W_9111_Set_EDO_Function (U16 cardNo, U16 x )

Visual Basic (Windows 95)

W_9111_Set_EDO_Function (ByVal cardNo As Integer, ByVal x As Integer) As Integer

@ Argument

 

cardNo:

The card number of PCI-9111 card initialized

x:The mode of EDO pins, the valid modes are as follows: EDO_INPUT, EDO_OUT_EDO, EDO_OUT_CHN

@Return Code

ERR_NoError

42 C/C++ Library

Page 52
Image 52
HP NuDAQ I-9111DG/HR manual 11 9111SetEDOFunction