HP (Hewlett-Packard) 9112 Series Network Card User Manual


 
46
C/C++ Library
u Return Code :
ERR_NoError, ERR_BoardNoInit
ERR_InvalidADChannel
5.9 _9112_AD_Set_Range
u Description
This function is used to set the A/D analog input range by means of
writing data to the A/D range control register. There are two factors will
change the analog input range - Gain and Input type.
The Gain can be choice from 0.5, 1, 2, 4, and 8 . The input type is either
Bipolar or Unipolar.
The initial value of gain is '1‘ and input type is bipolar, which are pre-set
by the PCI-9112 hardware. The relationship between analog input
voltage range, gain and input mode are specified by following tables:
** this table is suitable for PCI-9112 card.
AD_INPUT
GAIN
Input type
(Bipolar or
Unipolar)
Input Range
AD_B_5_V 1 Bipolar
±5V
AD_B_2_5
_V
2 Bipolar
±2.5V
AD_B_1_2
5_V
4 Bipolar
±1.25V
AD_B_0_6
25_V
8 Bipolar
±0.625V
AD_U_10_
V
1 Unipolar 0V ~ 10V
AD_U_5_V 2 Unipolar 0V ~ 5V
AD_U_2_5
_V
4 Unipolar 0V ~ 2.5V
AD_U_1_2
5_V
8 Unipolar 0V ~ 1.25V
AD_B_10_
V
0.5 Bipolar
±10V