24
|
ni.com
|
NI PXI-5404 Calibration Procedure
3.
Call
niHSSources_InitializeAmplitudeCalibration (
niHSSources
Cal InitializeAmplitudeCalibration VI) to reset the internal variables held by the
session. Resetting begins an amplitude calibration for the current frequency and
sets the internal frequency index. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the module
•
frequencyBand
—The index of the current frequency value from Table 5
4.
For the first frequency in Table 5, repeat the following steps 16 times. For the
other frequencies in Table 5, repeat the following steps eight times:
a)
Call
niHSSources_CalibrateAmplitude
(
niHSSources Cal
CalibrateAmplitude VI) to program the adjusted GAIN DAC value to the
hardware. Set the following parameter:
•
sessionHandle
—The handle of the calibration session for the module
b)
Measure the SINE out amplitude.
c)
Call
niHSSources_CalAdjust(
niHSSources Cal CalAdjust VI) to
adjust the internal GAIN DAC value based on the measured amplitude. Set
the following parameters:
•
measurementMode
—
niHSSources_SET_AMPLITUDE
•
sessionHandle
—The handle of the calibration session for the module
•
actual data
—A pointer to the variable holding the desired amplitude
level (
2.0 V
)
•
measured amplitude
—A pointer to a variable holding the measured
peak-to-peak level at the SINE out connector (assume a 50
Ω
load)