5.5Digital 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

C/C++ Libraries 35