12 _7200_do_channel, Description, Syntax – ADLINK PCI-7200 User Manual

Page 66: Argument, Return code, Description @ syntax @ argument @ return code

Advertising
background image

54

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 per-
forming this function, the digital output data is written to the corre-
sponding 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

between 0 and 31.

do_data: either 0 (OFF) or 1 (ON).

@ Return Code

ERR_NoError
ERR_InvalidDOChannel

Advertising