User`s guide
84 • C/C++ Library
W_9111_AD_FFHF_INT_Start (ByVal cardNo As Integer, ByVal
auto_scan As Integer, ByVal ad_ch_no As Integer, ByVal ad_gain
As Integer, ByVal blockNo As Integer, ad_buffer As Integer,
ByVal c1 As Integer, ByVal c2 As Integer) As Integer
@ Argument
cardNo: the card number of PCI-9111 card initialized.
auto_scan: 0: autoscan is disabled.
1: autoscan is enabled.
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_5_V, AD_B_2_5_V,
AD_B_1_25_V, AD_B_0_625_V,
blockNo: the number of blocks for performing A/D convertion,
one block of A/D conversion is 512.
ad_buffer: the start address of the memory buffer to store the AD
data, the buffer size must large than the number of AD
conversion (blockNo*512).
c1: the frequency devider of Timer#1.
c2: the frequency devider of Timer#2.
@ Return Code
ERR_InvalidADChannelERR_AD_InvalidGain
ERR_InvalidTimerValueERR_NoError