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 _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
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com