11 _7300_aux_do_channel – ADLINK PCIe-7300A User Manual
Page 85

C/C++ Libraries
75
5.11 _7300_AUX_DO_Channel
@ Description
Write data to auxiliary digital output channel (bit). There are 4 aux-
iliary digital output channels on the cPCI/PCI/PCIe-7300A. When
performs this function, the digital output data is written to the cor-
responding channel.
* channel means each bit of digital output port.
@ Syntax
Visual C/C++ (Windows 95)
int W_7300_AUX_DO_Channel (int card_number, int
do_ch_no, int do_data)
Visual Basic (Windows 95)
W_7300_AUX_DO_Channel (ByVal card_number As Long,
ByVal do_ch_no As Long, ByVal do_data As
Long) As Long
C/C++ (DOS)
int _7300_AUX_DO_Channel (int card_number, int
do_ch_no, int do_data)
@ Argument
card_number
:The card number of the cPCI/PCI/PCIe-7300A
card.
do_ch_no
: the DO channel number, the value has to be set within
0 and 3.
do_data
:either 0 (OFF) or 1 (ON).
@ Return Code
NoError
PCICardNumErr
PCICardNotInit
InvalidDIOChNum
InvalidDOData