9113_Ad_Read_Data_Mux - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

This function is used to read the A/D conversion data from the data
register n times continuously.
@ Syntax
C/C++ (DOS)
U16 _9113_AD_Read_Data_Repeat (U16 cardNo, I16 far *ADData, U16
n)
C/C++ (Windows 95)
U16 W_9113_AD_Read_Data_Repeat (U16 cardNo, I16 *ADData, U16
n)
Visual Basic (Windows 95)
W_9113_AD_Read_Data_Repeat (ByVal cardNo As Integer, ADData As
Integer, ByVal n As Integer) As Integer
@ Argument
cardNo: The card number of PCI-9113A card initialized
ADData: A/D converted value. The resolution of A/D data is 12-bit. The
bit 0 of ADData is the LSB of A/D converted data and the bit 11 of
ADData is the MSB of A/D converted data. Please refer to section
5.1.5 for the relationship between the voltage and the value.
n: The number of times to read the A/D conversion data.
@ Return Code
ERR_NoError
6.7

_9113_AD_Read_Data_MUX

@ Description
This function is used to read data from A/D Data and Channel
Number Register. The A/D Data and Channel Number Register is a
32-bit register. Please refer to section 4.10 for the description of A/D
Data and Channel Number Register.
@ Syntax
C/C++ (DOS)
U16 _9113_AD_Read_Data_MUX (U16 cardNo, U32 far
*ADData )
C/C++ (Windows 95)
U16 W_9113_AD_Read_Data_MUX (U16 cardNo, U32 *ADData )
C/C++ Software Library
41

Advertisement

Table of Contents
loading

Table of Contents