Intel PCI-7200 Switch User Manual


 
C/C++ Libraries
37
5.12 _7200_DO_Channel
@ Description
This function is used to write data to digital output channels (bit). There are
32 digital output channels on the PCI-7200. When performs this function, the
digital output data is written to the corresponding channel.
channel means each bit of digital input port
@ Syntax
Visual C++ (Windows 95)
int W_7200_DO_Channel (U8 do_ch_no, Boolean do_data)
Visual Basic (Windows 95)
W_7200_DO_Channel (ByVal do_ch_no As Byte, ByVal do_data As
Byte) As Long
C/C++ (DOS)
int _7200_DO_Channel (U8 do_ch_no, Boolean do_data)
@ Argument
do_ch_no : the DO channel number, the value has to be set within 0 and
31.
do_data : either 0 (OFF) or 1 (ON).
@ Return Code
ERR_NoError
ERR_InvalidDOChannel