8 _7200_aux_do_channel, Description, Syntax – ADLINK PCI-7200 User Manual

Page 62: Argument, Return code, 7200_aux_do_channel, Description @ syntax @ argument @ return code

Advertising
background image

50

C/C++ Libraries

5.8 _7200_AUX_DO_Channel

@ Description

Write data to auxiliary digital output channel (bit). There are four
auxiliary digital output channels on the cPCI-7200. When perform-
ing 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_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 is

between 0 and 3.

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

@ Return Code

ERR_NoError
ERR_InvalidDOChannel
ERR_FunctionNotAvailable

Advertising