Intel cPCI-7200 Benutzerhandbuch

Seite von 65
 
34 
• C/C++ Libraries 
5.6  _7200_AUX_DI_Channel 
@ Description 
Read data from auxiliary digital input channel of cPCI-7200 card. There are 
4 digital input channels on the cPCI-7200 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++( Windows 95) 
int W_7200_AUX_DI_Channel (U8 di_ch_no, Boolean 
*aux_data) 
Visual Basic (Windows 95) 
W_7200_AUX_DI_Channel (ByVal di_ch_no As Byte, 
aux_data As Byte) As Long 
C/C++ ( DOS) 
int _7200_AUX_DI_Channel (U8 di_ch_no, Boolean 
*aux_data) 
@ Argument 
di_ch_no :   the DI channel number, the value has to be set within 0 and 3.  
aux_data :   return value, either 0 or 1. 
@ Return Code 
ERR_NoError, ERR_InvalidDIChannel,ERR_FunctionNotAvailable  
5.7  _7200_AUX_DO 
@ Description    
Write data to auxiliary digital output port. There are 4 auxiliary digital outputs 
on the cPCI-7200. 
@ Syntax 
Visual C++ (Windows 95) 
int W_7200_AUX_DO (U32 aux_do) 
Visual Basic (Windows 95) 
W_7200_AUX_DO (ByVal aux_do As Long) As Long 
C/C++ (DOS) 
int _7200_AUX_DO (U32 aux_do) 
@ Argument 
aux_do :  
value will be written to auxiliary digital output port 
@ Return Code 
ERR_NoError 
ERR_FunctionNotAvailable