User`s manual
42 C/C++ Libraries
72XX Series
User’s Manual
5.5 Digital Output
@ Description
This function is used to write data to digital output ports.
@ Syntax
C/C++ (DOS)
U16 _7248_DO (U16 cardNo, U16 channelPort, U8
doData)
U16 _7249_DO (U16 cardNo, U16 channelPort, U8
doData)
U16 _7296_DO (U16 cardNo, U16 channelPort, U8
doData)
C/C++ (Windows 95)
U16 W_7248_DO (U16 cardNo, U16 channelPort, U16
doData)
U16 W_7249_DO (U16 cardNo, U16 channelPort, U16
doData)
U16 W_7296_DO (U16 cardNo, U16 channelPort, U16
doData)
Visual Basic (Windows 95)
W_7248_DO (ByVal cardNo As Integer, ByVal
channelPort As Integer, ByVal doData As
Integer) As Integer
W_7249_DO (ByVal cardNo As Integer, ByVal
channelPort As Integer, ByVal doData As
Integer) As Integer
W_7296_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