6 digital output relative functions – ADLINK cPCI-7434 User Manual

Page 40

Advertising
background image

32

C/C++ Libraries

5.6 Digital Output Relative Functions

@ Description

These functions are used to write data to the digital output ports. You
can write 32-bit data to the 7432 by using function “_7432_DO”; write
32-bit data (MSB double word) to the 7434 by using “_7434_DO_HiDW”;
or write 32-bit data (LSB double word) to 7434 by using
“_7434_DO_LoDW”.

@ Syntax

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

C/C++ (DOS)

U16 _7432_DO (U16 cardNo, U32 do_data)

C/C++ (Windows 95)

U16 W_7432_DO (U16 cardNo, U32 do_data)

Visual Basic (Windows 95)

W_7432_DO (ByVal cardNo As Integer, ByVal do_data As Long)
As Integer

PCI-7434 / cPCI-7434 / cPCI-7434R

C/C++ (DOS)

U16 _7434_DO_HiDW (U16 cardNo, U32 do_data)
U16 _7434_DO_LoDW (U16 cardNo, U32 do_data)

C/C++ (Windows 95)

U16 W_7434_DO_HiDW (U16 cardNo, U32 do_data)
U16 W_7434_DO_LoDW (U16 cardNo, U32 do_data)

Visual Basic (Windows 95)

W_7434_DO_HiDW (ByVal cardNo As Integer, ByVal do_data As
Long) As Integer
W_7434_DO_LoDW (ByVal cardNo As Integer, ByVal do_data As
Long) As Integer

@ Argument

cardNo : card number of selected board
do_data : value will be written to digital output port

@ Return Code

ERR_NoError
ERR_BoardNoInit

Advertising
This manual is related to the following products: