NI PXI-5422 Calibration Procedure 38 ni.com
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
1VI_FALSE 0NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_0DB
2VI_FALSE 3NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_3DB
3VI_FALSE 6NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_6DB
4VI_FALSE 9NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_9DB
5VI_FALSE 12 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_OFF_12DB
6VI_TRUE 0NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_0DB
7VI_TRUE 3NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_3DB
8VI_TRUE 6NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_6DB
9VI_TRUE 9NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_9DB
10 VI_TRUE 12 NIFGEN_VAL_CAL_CONFIG_MAIN_PATH_FILTER_ON_12DB