beautypg.com

ADLINK cPCI-6208V User Manual

Page 38

background image

30

C/C++ Library

5.8 _6208_DO

@ Description

This function is used to write data to digital output ports. There are 4
digital output channels on 6208 series card, i.e. the output value ranges
from 0 to 15.

@ Syntax

C/C++ (DOS)

U16 _6208_DO (U16 cardNo, U16 DOData)

C/C++ (Windows 95)

U16 W_6208_DO (U16 cardNo, U16 DOData)

Visual Basic (Windows 95)

W_6208_DO (ByVal cardNo As Integer, ByVal

DOData As Integer) As Integer

@ Argument

cardNo: The card number of the 6208 card

initialized. (The first card in the most
significant PCI slot is assign cardNo = 0).

DOData: the value written to the digital

output port

@ Return Code

ERR_NoError

This manual is related to the following products: