![National Instruments NI 5421 Скачать руководство пользователя страница 52](http://html1.mh-extra.com/html/national-instruments/ni-5421/ni-5421_calibration-procedure_3444454052.webp)
NI 5421/5441 Calibration Procedure
52
ni.com
The measured frequency should converge on the desired frequency.
If the measured frequency does not converge on the desired frequency
within 16 iterations, a problem may exist with your measurement
device or the NI 5421/5441.
a.
Call
niFgen_AbortGeneration
(niFgen Abort Generation VI)
to abort the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
b.
Call
niFgen_CalAdjustOscillatorFrequency
(niFgen Cal
Adjust Oscillator Frequency VI) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
desiredFrequencyInHz
: The desired frequency (
10000000
)
of the generated sinusoid in Hz
•
measuredFrequencyInHz
: The
measured frequency
of
the generated sinusoid in Hz
c.
Call
niFgen_InitiateGeneration
(niFgen Initiate
Generation VI) to initiate the waveform generation using
the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
d.
Measure the frequency of the generated waveform. This value is
the
measured frequency
.
16. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to
abort the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
Adjusting the Calibration ADC
The NI 5421/5441 has an onboard calibration ADC that is used during
self-calibration. Adjusting the calibration ADC involves characterizing the
gain and offset associated with this ADC so that performing self-calibration
results in an accurately calibrated device.
1.
Call
niFgen_InitializeCalADCCalibration
(niFgen Initialize
Cal ADC Calibration VI) using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
2.
Call
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
:
0