9113_Ad_Int_Status - NuDAQ PCI- 9113A User Manual

32 channels isolated analog input card
Table of Contents

Advertisement

Integer, ByVal blockNo As Integer, ad_buffer As Long, ByVal c1 As Integer,
ByVal c2 As Integer) As Integer
@ Argument
cardNo: The card number of PCI-9113A card initialized.
auto_scan: 0: autoscan is disabled.
ad_ch_no: A/D channel number.
If the auto_scan is set as enable, the selection sequence of A/D
channel is: 0, 1, 2, 3, ..., [ad_ch_no], 0, 1, 2, 3, [ad_ch_no], ...
If the auto_scan is set as disable, only the data input from [ad_ch_no]
is converted.
ad_gain: A/D analog input range, the possible values are:
AD_B_10_V, AD_B_1_V, AD_B_0_1_V,
AD_B_5_V, AD_B_0_5_V, AD_B_0_05_V,
AD_U_10_V, AD_U_1_V, AD_U_0_1_V
blockNo:
one block of A/D conversion is 512 words.
ad_buffer:
data. The buffer size must large than the number of AD
conversion. The unsigned integer data format in ad_buffer is as
follows:
Every 32-bit unsigned integer data:
Please refer to section 5.1.5 for the relationship between the
voltage and the value.
c1: the frequency devider of Timer#1
c2: the frequency devider of Timer#2
@ Return Code
ERR_InvalidADChannel
ERR_AD_InvalidGain
ERR_InvalidTimerValue
ERR_NoError

6.35 _9113_AD_INT_Status

@ Description
1: autoscan is enabled.
The number of blocks for performing A/D conversion,
The start address of the memory buffer to store the AD
bit 0... 11: A/D converted data
bit 16, 17, ... , 20: converted channel no.
C/C++ Software Library
65

Advertisement

Table of Contents
loading

Table of Contents