9 _7300_aux_di_channel, Description, Syntax – ADLINK PCI-7300A User Manual

Page 80: Argument, Return code, 7300_aux_di_channel, Description @ syntax @ argument @ return code

Advertising
background image

68

C/C++ Libraries

5.9 _7300_AUX_DI_Channel

@ Description

Read data from auxiliary digital input channel. There are 4 digital
input channels on the PCI-7300A auxiliary digital input port. When
performs this function, the auxiliary digital input port is read and
the value of the corresponding channel is returned.

* channel means each bit of digital input port.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_AUX_DI_Channel (int card_number, int

di_ch_no, int *aux_di)

Visual Basic (Windows 95)

W_7300_AUX_DI_Channel (ByVal card_number As Long,

ByVal di_ch_no As Long, aux_di As Long) As
Long

C/C++ (DOS)

int _7300_AUX_DI_Channel (int card_number, int

di_ch_no, int *aux_di)

@ Argument

card_number:The card number of the PCI-7300A card.

di_ch_no: the DI channel number, the value has to be set within

0 and 3.

aux_di:return value, either 0 or 1.

@ Return Code

NoError
PCICardNumErr
PCICardNotInit
InvalidDIOChNum

Advertising