beautypg.com

ADLINK cPCI-6208V User Manual

Page 35

background image

C/C++ Library

27

5.5 _6208_DA

@ Description

This function is used to write data to the D/A converters. There are 8 or
16 Digital-to-Analog conversion channels depending on which card is
used. The resolution of each channel is 16 bits with sign; i.e. the digital
value range from -32768 (0x8000) to +32767 (0x7FFF).

@ Syntax

C/C++ (DOS)

U16 _6208_DA (U16 cardNo, U16 chn, I16 DAData)

C/C++ (Windows 95)

U16 W_6208_DA (U16 cardNo, U16 chn, I16

DAData)

Visual Basic (Windows 95)

W_6208_DA (ByVal cardNo As Integer, ByVal chn

As Integer, ByVal DAData 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).

Chn:

D/A channel number

DAData: D/A converted value

@ Return Code

ERR_NoError

This manual is related to the following products: