© National Instruments Corporation 41 NI PXI-5422 Calibration Procedure
8. Call niFgen_CalAdjustMainPathPreAmpOffset (niFgen Cal
Adjust Main Path Pre Amp Offset VI) using the following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•configuration: The Current Configuration value for the current
iteration from Table 7.
•gainDACValues: An array containing two elements—the two
values (2000, 1000) that you set as the gain DAC in the order that
you measured them.
•offsetDACValues: An array containing two elements—the two
values (50000, 15000) that you set as the offset DAC in the order
that you measured them.
•measuredOutputs: An array containing three elements—the
three output voltages (measurement 0, measurement 1,
measurement 2) that you measured in the order that you
measured them.
Adjusting the Main Path Pre-Amplifier Gain1. Call niFgen_SetAttributeViInt32 to set the analog path value
(niFgen property node: Output Attributes»Analog Path) using the
following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•attributeID: NIFGEN_ATTR_ANALOG_PATH
•value: NIFGEN_VAL_FIXED_LOW_GAIN_ANALOG_PATH
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