User guide

C/C++ Libraries 73
5.9 _7300_AUX_DI_Channel
@ Description
Read data from auxiliary digital input channel. There are 4 digital
input channels on the cPCI/PCI/PCIe-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 cPCI/PCI/PCIe-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