6 _7200_aux_di_channel, Description, Syntax – ADLINK PCI-7200 User Manual

Page 60: Argument, Return code, 7200_aux_di_channel, Description @ syntax @ argument @ return code

Advertising
background image

48

C/C++ Libraries

5.6 _7200_AUX_DI_Channel

@ Description

Read data from the auxiliary digital input channel of cPCI-7200
card. There are four digital input channels on the cPCI-7200 auxil-
iary digital input port. When performing this function, the auxiliary
digital input port is read and the value of the corresponding chan-
nel is returned.

* channel means each bit of digital input port.

@ Syntax

Visual C++( Windows 95)

int W_7200_AUX_DI_Channel (U8 di_ch_no, Boolean

*aux_data)

Visual Basic (Windows 95)

W_7200_AUX_DI_Channel (ByVal di_ch_no As Byte,

aux_data As Byte) As Long

C/C++ ( DOS)

int _7200_AUX_DI_Channel (U8 di_ch_no, Boolean

*aux_data)

@ Argument

di_ch_no: the DI channel number, the value is between 0 and 3.

aux_data: return value, either 0 or 1.

@ Return Code

ERR_NoError, ERR_InvalidDIChannel,

ERR_FunctionNotAvailable

Advertising