©
National Instruments Corporation
75
NI 5402/5406 Calibration Procedure
5.
Set the gain DAC value by calling the niFgen Property Node and
selecting
Calibration»Gain DAC Value
.
Repeat steps 6 through 9 for each of the eight iterations listed in Table 9,
changing the
Analog Path
,
Post-Amplifier Attenuation
, and
Current
Configuration
values for each iteration.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_Set
AttributeViInt32
using the following
parameters:
vi
: The session handle
returned from
niFgen_InitExtCal
.
channelName
:
"0"
attributeID
:
NIFGEN_
ATTR_GAIN_DAC_VALUE
value
:
2,000
Table 9.
Values for Adjusting the Main Path Post-Amplifier Gain and Offset
Iteration
Analog Path
Post-Amp
Attenuation
(dB)
Current Configuration
1
NIFGEN_VAL_FIXED_LOW_GAIN_
ANALOG_PATH
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
LOW_GAIN_0DB
2
NIFGEN_VAL_FIXED_LOW_GAIN_
ANALOG_PATH
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
LOW_GAIN_12DB
3
NIFGEN_VAL_FIXED_LOW_GAIN_
ANALOG_PATH
24
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
LOW_GAIN_24DB
4
NIFGEN_VAL_FIXED_LOW_GAIN_
ANALOG_PATH
36
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
LOW_GAIN_36DB
5
NIFGEN_VAL_FIXED_HIGH_GAIN_
ANALOG_PATH
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
HIGH_GAIN_0DB
6
NIFGEN_VAL_FIXED_HIGH_GAIN_
ANALOG_PATH
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
HIGH_GAIN_12DB
7
NIFGEN_VAL_FIXED_HIGH_GAIN_
ANALOG_PATH
24
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
HIGH_GAIN_24DB
8
NIFGEN_VAL_FIXED_HIGH_GAIN_
ANALOG_PATH
36
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_
HIGH_GAIN_36DB