C/C++ Library
•
45
5.12 _9111_DA
@ Description
This function is used to write data to D/A converters. There are one
Digital-to-Analog conversion channel on the PCI-9111. The resolution of
each channel is 12 bit; i.e. the range is from 0 to 4095.
@ Syntax
C/C++ (DOS)
U16 _9111_DA (U16 cardNo, I16 DAData)
C/C++ (Windows 95)
U16 W_9111_DA (U16 cardNo, I16 DAData )
Visual Basic (Windows 95)
W_9111_DA (ByVal cardNo As Integer, ByVal DAData As Integer)
As Integer
@ Argument
cardNo:
The card number of PCI-9111 card initialized
DAData:
D/A converted value, please refer to section to learn the
relationship between the voltage and the value
@ Return Code
ERR_NoError
5.13 _9111_AD_Read_Data
@ Description
This function is used to read the AD conversion data from analog input
port.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Read_Data (U16 cardNo, I16 far *ADData)
C/C++ (Windows 95)
U16 W_9111_AD_Read_Data (U16 cardNo, I16 *ADData)
Visual Basic (Windows 95)
W_9111_AD_Read_Data (ByVal c ardNo As Integer, ADData As Integer)
As Integer
@ Argument
cardNo:
The card number of PCI-9111 card initialized
ADData:
A/D converted value, please refer to section to learn the
relationship between the voltage and the value
@ Return Code
ERR_NoError
Summary of Contents for NuDAQ PCI-9111DG
Page 1: ...NuDAQ PCI 9111DG HR Multi Functions Data Acquisition Card User s Guide ...
Page 4: ......
Page 10: ......