6308_Get_Da_Status; Da_4_7 - NuDAQ PCI-6308 Series User Manual

Isolated analog output board
Hide thumbs Also See for PCI-6308 Series:
Table of Contents

Advertisement

5.7 _6308_DA_4_7

@Description
This function is used to simultaneously write data to D/A converters
of channel 4 to channel 7. The resolution of each channel is 12
bits without sign; i.e. the digital value range from 0 to 4095. Please
refer to section 4.1.2 for details of DA data format.
@Syntax
c/c++ (DOS)
U16
c/c++ (Windows 95)
U16
Visual Basic (Windows 95)
W_6308_DA_4_7( ByVal cardNo As Integer , ByVal DA4_Data
@Argument
cardNo:
DA4_Data:
DA5_Data:
DA6_Data:
DA7_Data:
@Return Code
ERR_NoError

5.8 _6308_Get_DA_Status

@ Description
This function is used to check the DA data sending status.
Because the data transfer time for every DA data takes 16.0 µs,
the software driver must wait for 16.0µs before sending another
data to any analog output port. This function should be called
before writing any data to output port. While the DA value is
sending, the returned value is "1", otherwise the returned value is
"0".
@ Syntax
C/C++ (DOS)
U16
26 • C/C++ Library
_6308_DA_4_7(U16 cardNo, I16 DA4_Data, I16
DA5_Data, I16 DA6_Data, I16 DA7_Data)
W_6308_DA_4_7(U16 cardNo, I16 DA4_Data, I16
DA5_Data, I16 DA6_Data, I16 DA7_Data)
As Integer , ByVal DA5_Data As Integer , ByVal
DA6_Data As Integer , ByVal DA7_Data As Integer )
The card number of PCI-6308 card
Channel 4 D/A data value
Channel 5 D/A data value
Channel 6 D/A data value
Channel 7 D/A data value
W_6308_Get_DA_Status (U16 cardNo)

Advertisement

Table of Contents
loading

Table of Contents