ADLINK cPCI-7300 User Manual

Page 62

Advertising
background image

54

C/C++ Libraries

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

5.10 _7300_AUX_DO

@ Description

Write data to auxiliary digital output port. There are 4 auxiliary digital outputs
on the PCI-7300A.

@ Syntax

Visual C/C++ (Windows 95)

int W_7300_AUX_DI (int card_number, int do_data)

Visual Basic (Windows 95)

W_7300_AUX_DI (ByVal card_number As Long, ByVal do_data As Long)

As Long

C/C++ (DOS)

int _7300_AUX_DI (int card_number, int do_data)

@ Argument

card_number:

The card number of the PCI-7300A card.

do_data: value

will be written to auxiliary digital output

port

@ Return Code

NoError
PCICardNumErr
PCICardNotInit

5.11 _7300_AUX_DO_Channel

@ Description

Write data to auxiliary digital output channel (bit). There are 4 auxiliary digital
output channels on the PCI-7300A. When performs this function, the digital
output data is written to the corresponding channel.
* channel means each bit of digital output port.

Advertising