5 _6308_da, Description, Syntax – ADLINK PCM-6308V+ User Manual

Page 43: Arguments, Return code, 6308_da, Description @ syntax @ arguments @ return code

Advertising
background image

C/C++ Library

33

5.5 _6308_DA

@ Description

This function is used to write data to the D/A converters. There are
8 Digital-to-Analog conversion channels on the PCI-6308. The
resolution of each channel is 12 bits unsign; i.e. the digital value
range from 0 (0x000) to +4095 (0xFFF). Please refer to section
4.1 for details of the DA data format.

@ Syntax

C/C++ (DOS)

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

C/C++ (Windows 95)

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

Visual Basic (Windows 95)

W_6308_DA (ByVal cardNo As Integer, ByVal chn As

Integer, ByVal DAData As Integer) As Integer

@ Arguments

cardNo:The card number of PCI-6308 card
Chn: D/A channel number
DAData:D/A data value

@ Return Code

ERR_NoError

Advertising