CyberResearch PCIDIO 48H ユーザーズマニュアル

ページ / 59
 
C/C++ Libraries 
• 35 
5.5 Digital Output 
@ Description   
This function is used to write data to digital output ports.    
@ Syntax 
C/C++ (DOS) 
U16  _
DIO48H
_DO (U16 cardNo, U16 channelPort, U8 
doData) 
U16  _
DIO96H
_DO (U16 cardNo, U16 channelPort, U8 
doData) 
C/C++ (Windows 95) 
U16  W_
DIO48H
_DO (U16 cardNo, U16 channelPort, U16 
doData) 
U16  W_
DIO96H
_DO (U16 cardNo, U16 channelPort, U16 
doData) 
Visual Basic (Windows 95) 
W_
DIO48H
_DO (ByVal cardNo As Integer, ByVal 
channelPort As Integer, ByVal doData As 
Integer) As Integer 
W_
DIO96H
_DO (ByVal cardNo As Integer, ByVal 
channelPort As Integer, ByVal doData As 
Integer) As Integer 
@ Argument 
cardNo: 
card number to select board  
channelPort:  The same as channelPort in section 5.5. 
doData:      value will be written to digital output 
port 
@ Return Code 
ERR_NoError