Intel cPCI-7200 User Manual

Page 52

Advertising
background image

44

C/C++ Libraries

5.12 _7200_DO_Channel

@ Description

This function is used to write data to digital output channels (bit). There are
32 digital output channels on the PCI-7200. When performing 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_DO_Channel (U8 do_ch_no, Boolean do_data)

Visual Basic (Windows 95)

W_7200_DO_Channel (ByVal do_ch_no As Byte, ByVal do_data As

Byte) As Long

C/C++ (DOS)

int _7200_DO_Channel (U8 do_ch_no, Boolean do_data)

@ Argument

do_ch_no:

the DO channel number, the value has to be set within 0 and 31.

do_data:

either 0 (OFF) or 1 (ON).

@ Return Code

ERR_NoError
ERR_InvalidDOChannel

Advertising