Intel PCI-7200 User Manual

Page 45

Advertising
background image

C/C++ Libraries

• 35

5.8 _7200_AUX_DO_Channel

@ Description

Write data to auxiliary digital output channel (bit). There are 4 auxiliary digital
output channels on the cPCI-7200. When performs this function, the digital
output data is written to the corresponding channel.

channel means each bit of digital input port

@ Syntax

Visual C++ (Windows 95)

int W_7200_AUX_DO_Channel (U8 do_ch_no, Boolean aux_data)

Visual Basic (Windows 95)

W_7200_AUX_DO_Channel (ByVal do_ch_no As Byte, ByVal

aux_data As Byte) As Long

C/C++ (DOS)

int _7200_AUX_DO_Channel (U8 do_ch_no, Boolean aux_data)

@ Argument

do_ch_no : the auxiliary DO channel number, the value has to be set
within 0 and 3.
aux_data : either 0 (OFF) or 1 (ON).

@ Return Code

ERR_NoError

ERR_InvalidDOChannel

ERR_FunctionNotAvailable

5.9 _7200_DI

@ Description

This function is used to read data from digital input port. There are 32-bit
digital inputs on the PCI-7200. You can get all 32 input data from _7200_DI
by using this function.

@ Syntax

Visual C++ (Windows 95)

int W_7200_DI (U32 *di_data)

Visual Basic (Windows 95)

W_7200_DI (di_data As Long) As Long

C/C++ (DOS)

int _7200_DI (U32 *di_data)

@ Argument

di_data :

returns all 32-bit value from digital port.

@ Return Code

ERR_NoError

Advertising