©
National Instruments Corporation
35
NI 5421/5441 Calibration Procedure
2.
Call
niFgen_SetAttributeViReal64
to set the post-amplifier
attenuation (niFgen property node:
Calibration»Post-Amplifier
Attenuation
) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_POST_AMPLIFIER_ATTENUATION
•
value
:
0
3.
Call
niFgen_WriteBinary16AnalogStaticValue
(niFgen Write
Binary 16 Analog Static Value VI) to set the main DAC value using
the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
value
:
0
4.
Repeat steps 5 through 8 for each of the 10 iterations listed in Table 7,
changing the
Analog Filter Enable
,
Pre-Amplifier Attenuation
, and
Current Configuration
values for each iteration.
Table 7.
Attributes and Values for Main Path Pre-Amplifier Offset
Iteration
Analog Filter
Enable
Pre-Amplifier
Attenuation
Current Configuration
1
VI_FALSE
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB
2
VI_FALSE
3
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB
3
VI_FALSE
6
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB
4
VI_FALSE
9
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB
5
VI_FALSE
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB
6
VI_TRUE
0
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_0DB
7
VI_TRUE
3
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_3DB
8
VI_TRUE
6
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_6DB
9
VI_TRUE
9
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_9DB
10
VI_TRUE
12
NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_12DB