NI 5402/5406 Calibration Procedure
92
ni.com
7.
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 5402/5406.
a.
Abort waveform generation by calling the niFgen Abort
Generation VI.
b.
Adjust the oscillator frequency by calling the niFgen Cal Adjust
Oscillator Frequency VI.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_Abort
Generation
using the following
parameter:
vi
: The session handle
returned from
niFgen_InitExtCal
.
LabVIEW Block Diagram
C/C++
Function Call
Call
niFgen_CalAdjust
OscillatorFrequency
using the following
parameters:
vi
: The session handle
returned from
niFgen_InitExtCal
.
desiredFrequencyInHz
:
10000000
measuredFrequencyIn
Hz
: The measured
frequency
value
(in Hz)