10 _6308_do, Description, Syntax – ADLINK PCM-6308V+ User Manual

Page 48: Arguments, Return code, Description @ syntax @ arguments @ return code

Advertising
background image

38

C/C++ Library

5.10 _6308_DO

@ Description

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

@ Syntax

C/C++ (DOS)

U16 _6308_DO (U16 cardNo, U16 DOData)

C/C++ (Windows 95)

U16 W_6308_DO (U16 cardNo, U16 DOData)

Visual Basic (Windows 95)

W_6308_DO (ByVal cardNo As Integer, ByVal DOData

As Integer) As Integer

@ Arguments

cardNo:the card number of PCI-6308 cards
DOData:the value written to digital output port

@ Return Code

ERR_NoError

Advertising