© National Instruments Corporation 43 NI PXI-5422 Calibration Procedure
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 8.
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: 1500
b. Cal l 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: 25233
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.
f. 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