©
National Instruments Corporation
11
NI 5402/5406 Calibration Procedure
Verifying the Oscillator Frequency Accuracy
Complete this test to verify the frequency accuracy of the oscillator on the
NI 5402/5406. In this test, you generate a 10 MHz sine wave with the
NI 5402/5406 and measure the sine wave frequency with a frequency
counter.
1.
Connect the NI 5402/5406 CH 0 front panel connector to the frequency
counter.
2.
Open an instrument driver session, initialize the device for operation,
and return a session handle that will be used to identify the device in
future NI-FGEN calls by calling the niFgen Initialize VI.
3.
Configure the waveform by calling the niFgen Configure Standard
Waveform VI.
LabVIEW Block Diagram
C/C++ Function Call
Call
niFgen_init
using
the following parameters:
resourceName
: The
name of the device that
you want to verify. This
name is the device
identifier assigned in
MAX.
IDQuery
:
VI_TRUE
resetDevice
:
VI_TRUE
LabVIEW Block Diagram
C/C++ Function Call
Call
niFgen_
ConfigureStandard
Waveform
using the
following parameters:
vi
: The session handle
returned from
niFgen_init
.
channelName
:
"0"
waveform
:
NIFGEN_VAL_WFM_SINE
frequency
:
10,000,000
amplitude
:
1
startPhase
:
0
dcOffset
:
0