© National Instruments Corporation 39 NI PXI-5422 Calibration Procedure
5. Call niFgen_SetAttributeViBoolean to set the analog filter state
(niFgen property node: Output Attributes»Analog Filter Enabled)
using the following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•attributeID: NIFGEN_ATTR_ANALOG_FILTER_ENABLED
•value: The Analog Filter Enable value for the current iteration
from Table 7.
6. Call niFgen_SetAttributeViReal64 to set the pre-amplifier
attenuation (niFgen property node: Calibration»Pre-Amplifier
Attenuation) using the following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•attributeID: NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION
•value: The Pre-Amplifier Attenuation value for the current
iteration from Table 7.
7. Take the following voltage measurements at the NI PXI-5422 CH 0
front panel connector into a high-impedance load:
a. Call niFgen_SetAttributeViInt32 to set the gain DAC value
(niFgen property node: Calibration»Gain DAC Value) using the
following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•attributeID: NIFGEN_ATTR_GAIN_DAC_VALUE
•value: 2000
b. Cal l niFgen_SetAttributeViInt32 to set the offset DAC
value (niFgen property node: Calibration»Offset DAC Value)
using the following parameters:
•vi: The session handle returned from niFgen_InitExtCal
•channelName: "0"
•attributeID: NIFGEN_ATTR_OFFSET_DAC_VALUE
•value: 50000
c. Call niFgen_Commit (niFgen Commit VI) to commit the
attribute values to the device using the following parameter:
•vi: The session handle returned from niFgen_InitExtCal
d. Wait 500 ms for the output to settle.
e. Use the DMM to measure the voltage output by the device. This
measurement is measurement 0, which is used in step 8.