User`s guide

C/C++ Library 59
5.12 _9111_DA
@ Description
This function is used to write data to the D/A converters. There is 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, refer to chapter 4 for the relationship
between the voltage and digital value
@ Return Code
ERR_NoError
5.13 _9111_AD_Read_Data
@ Description
This function is used to read the AD converted data from the 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 cardNo As Integer, ADData As Integer)
As Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
ADData: A/D converted value, Refer to chapter 4 for relationship
between the voltage and digital value
@ Return Code
ERR_NoError