46
•
C/C++ Library
5.9 _9114_AD_Read_Data_MUX
@ Description
This function is used to read data from A/D Data Registers. The A/D Data
and Channel Number Register is a 32-bit register. Please refer to
section 4.2 for the description of A/D Data and Channel Number
Register.
@ Syntax
C/C++ (DOS)
U16 _9114_AD_Read_Data_MUX (U16 cardNo, U32 far
*ADData )
C/C++ (Windows 95)
U16 W_9114_AD_Read_Data_MUX (U16 cardNo, U32 *ADData )
Visual Basic (Windows 95)
W_9114_AD_Read_Data_MUX (ByVal cardNo As Integer,
ADData As Long) As Integer
@ Argument
cardNo:
The card number of PCI-9114 card initialized
ADData:
A/D converted value. The resolution of A/D
conversion data is 16-bit. The unsigned integer
data format of ADData is as follows:
Every 32-bit unsigned integer data:
bit 0…15: A/D converted data
bit 16, 17, …, 20 : converted channel no.
Please refer to section 5.1.5 for the relationship
between the voltage and the value.
@ Return Code
ERR_NoError
5.10 _9114_AD_Read_Data_Repeat_MUX
@ Description
This function is used to read data from A/D Data and Channel Number
Register n times continuously. The A/D Data and Channel Number
Register is a 32-bit register. Please refer to section 4.2 for the
description of A/D Data and Channel Number Register.
@ Syntax
C/C++ (DOS)
Summary of Contents for NuDAQ PCI-9114DG
Page 1: ...NuDAQ P C I 9 1 1 4 D G H G Enhanced Multi Functions Data Acquisition Card User s Guide ...
Page 2: ......
Page 5: ......
Page 6: ......
Page 10: ...iv Contents Product Warranty Service 83 ...
Page 12: ......
Page 21: ...Installation 9 2 3 PCB Layout of PCI 9114 ...
Page 31: ...Registers Format 19 CN4 is MSB and CN0 is LSB ...
Page 36: ......
Page 50: ......
Page 56: ...44 C C Library the digital value Return Code ERR_NoError ...
Page 79: ...C C Library 67 ...
Page 94: ......