User`s guide

C/C++ Library 47
5.18 _9111_AD_Get_Range
@ Description
This function is used to get the A/D range from the gain control register.
The relationship between gains and input voltage ranges are specified by
following table.
Input Range (V) Gain Gain Code
±10 V X 1 AD_B_10_V
±5 V X 2 AD_B_5_V
±2.5 V X 4 AD_B_2_5_V
±1.25 V X 8 AD_B_1_25_V
±0.625V X 16 AD_B_0_625_V
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Get_Range (U16 cardNo, U16 *ADRange)
C/C++ (Windows 95)
U16 W_9111_AD_Get_Range (U16 cardNo, U16 *ADRange)
Visual Basic (Windows 95)
W_9111_AD_Get_Range (ByVal cardNo As Integer, ADRange As
Integer) As Integer
@ Argument
cardNo: The card number of PCI-9111 card initialized
ADRange: The programmable gain of A/D conversion, 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.
@ Return Code
ERR_NoError
5.19 _9111_AD_Get_Status
@ Description
This function is used to get AD FIFO status from the gain control register.
@ Syntax
C/C++ (DOS)
U16 _9111_AD_Get_Status (U16 cardNo, U16 *ADStatus)
C/C++ (Windows 95)
U16 W_9111_AD_Get_Status (U16 cardNo, U16 *ADStatus)
Visual Basic (Windows 95)
W_9111_AD_Get_Status (ByVal cardNo As Integer, ADStatus As
Integer) As Integer