User`s guide
C/C++ Library
•
27
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.2 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
@ Argument
cardNo: The card number of PCI-6308 card
Chn: D/A channel number
DAData: D/A data value
@ Return Code
ERR_NoError