5 digital input relative functions – ADLINK PCI-7432 User Manual

Page 39

Advertising
background image

C/C++ Libraries

31

5.5 Digital Input Relative Functions

@ Description

These functions are used to read 32-bit digital inputs data from the
digital input port. To obtain a 32-bit data from the 7432, use function
“_7432_DI”. To obtain a 32 bit data (MSB double word) from the 7433,
use “7433_DI_HiDW”, or use “7433_DI_LoDW” (LSB double word) for
the PCI-7433.

@ Syntax

PCI-7432 / cPCI-7432 / cPCI-7432R

C/C++ (DOS)

U16 _7432_DI (U16 cardNo, U32 *di_data)

C/C++ (Windows 95)

U16 W_7432_DI (U16 cardNo, U32 *di_data)

Visual Basic (Windows 95)

W_7432_DI (ByVal cardNo As Integer, di_data As Long) As
Integer

PCI-7433 / cPCI-7433 / cPCI-7433R

C/C++ (DOS)

U16 _7433_DI_HiDW (U16 cardNo, U32 *di_data)
U16 _7433_DI_LoDW (U16 cardNo, U32 *di_data)

C/C++ (Windows 95)

U16 W_7433_DI_HiDW (U16 cardNo, U32 *di_data)
U16 W_7433_DI_LoDW (U16 cardNo, U32 *di_data)

Visual Basic (Windows 95)

W_7433_DI_HiDW (ByVal cardNo As Integer, di_data As Long)
As Integer
W_7433_DI_LoDW (ByVal cardNo As Integer, di_data As Long)

As Integer

@ Argument

cardNo: card number of selected board
di_data: return 32-bit value from digital port.

@ Return Code

ERR_NoError

ERR_BoardNoInit

Advertising
This manual is related to the following products: