![background image](http://html1.mh-extra.com/html/national-instruments/ni-pxi-5404/ni-pxi-5404_calibration-procedure_3413068027.webp)
NI PXI-5404 Calibration Procedure
|
© National Instruments
|
27
•
amplitudeInVolts
—
2.0
•
frequencyInHz
—The frequency listed in Table 6 for the current index
b.
Enable the output by calling
niHSSources_SetArbOutput
(niHSSources Cal
SetArbOutputVI). Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the module
•
outputState
—
niHSSources_ENABLE
c.
Call
niHSSources_InitializeDutyCycleCalibration
(niHSSources Cal
InitializeDutyCycleCalibration VI) to reset the internal variable held by the session to
begin a duty cycle calibration for the present frequency. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the module
•
frequencyBand
—An integer, shown in Table 6, representing the index of the
frequency for the calibration being performed
•
NumberOfMeasurements
—The number of duty cycle measurements taken and
passed into the
niHSSources_CalAdjust()
function (niHSSources Cal
CalAdjust VI)
d.
For each SYNC DAC value in Table 6 for the frequency index, complete the following
steps:
1.
Call
niHSSources_SetSYNCDAC
(niHSSources Cal SetSYNCDAC VI) to
program the SYNC DAC. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the module
•
DACValue
—One of the SYNC DAC values in Table 6 for the current
frequency index
2.
Measure the duty cycle clock at the CLOCK out.
e.
Call
niHSSources_CalAdjust
(niHSSources Cal CalAdjust VI) to pass the
SYNC DAC values set and the resulting duty cycle measurements to
CalAdjust
. Set
the following parameters:
•
sessionHandle
—The handle of the calibration session for the module
•
measurementMode
—
niHSSources_SET_DUTY_CYCLE
•
actualData
—An array of SYNC DAC values, as shown in Table 6
•
measuredData
—An array of measured duty cycles for each SYNC DAC value.
Each value should represent the duty cycle high, as a percentage.