46
•
C/C++ Library
5.14 _9111_AD_Read_Data_Repeat
@ Description
This function is used to read the AD conversion data n times continuously.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Read_Data_Repeat (U16 cardNo, I16 far *ADData, U16
n)
C/C++ (Windows 95)
U16 W_9111_AD_Read_Data_Repeat (U16 cardNo, I16 *ADData, U16
n)
Visual Basic (Windows 95)
W_9111_AD_Read_Data_Repeat (ByVal cardNo As Integer, ADData As
Integer, ByVal n 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
n:
The number of times to read the AD conversion data
@ Return Code
ERR_NoError
5.15 _9111_AD_Set_Channel
@ Description
This function is used to set AD channel by means of writing data to the
multiplexer scan channel register. There are 16 single-ended A/D
channels in PCI-9111, therefore the channel number could be set
between 0 to 15. Under non-auto scan mode, the ADChannelNo stores
the channel number setting. Under auto-scan mode, the ADChannelNo
records the ending channel number.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Set_Channel (U16 cardNo, U16 ADChannelNo)
C/C++ (Windows 95)
U16 W_9111_AD_Set_Channel (U16 cardNo, U16
ADChannelNo)
Visual Basic (Windows 95)
W_9111_AD_Set_Channel (ByVal cardNo As Integer, ByVal
ADChannelNo As Integer) As Integer
Содержание NuDAQ PCI-9111DG
Страница 1: ...NuDAQ PCI 9111DG HR Multi Functions Data Acquisition Card User s Guide ...
Страница 4: ......
Страница 10: ......