44
••
C/C++ & DLL Libraries
5.11 _7200_DI_Channel
@ Description
This function is used to read data from digital input channels (bit).
There are 32 digital input channels on the PCI-7200. When performs
this function, the 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++( Windows 95/98)
int W_7200_DI_Channel (U8 di_ch_no, Boolean *di_data)
Visual Basic (Windows 95/98)
W_7200_DI_Channel (ByVal di_ch_no As Byte, di_data As Byte)
As Long
C/C++ ( DOS)
int _7200_DI_Channel (U8 di_ch_no, Boolean *di_data)
@ Argument
di_ch_no :
the DI channel number, the value has to be set
within 0 and 31.
di_data :
return value, either 0 or 1.
@ Return Code
ERR_NoError
ERR_InvalidDIChannel
Summary of Contents for cPCI-7200
Page 1: ...PCI 7200 cPCI 7200 12MB S High Speed Digital Input Output Card ...
Page 2: ......
Page 7: ......
Page 9: ......
Page 18: ...Installation 9 Figure 2 1a PCI 7200 Layout Diagram ...
Page 41: ......
Page 79: ......
Page 83: ......