42
|
ni.com
|
NI 5421/5441 Calibration Procedure
4.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain DAC
Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
2000
Repeat steps 5 through 8 for each of the eight iterations listed in Table 12, changing the
Analog
Path
,
Postamplifier Attenuation
, and
Current Configuration
values for each iteration.
5.
Call
niFgen_SetAttributeViInt32
to set the analog path value (NI-FGEN Analog
Path property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
Table 12.
Attributes and Values for the Main Analog Path Postamplifier Gain and Offset
Iteration
Analog Path
Post-amplifier
Attenuation
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