Chapter 2
Verification
©
National Instruments Corporation
2-11
3.
Call
niFgen_EnableDigitalFilter()
to select the channel to
enable a digital filter on. Set the following parameters:
•
vi
—The output value
sessionHandle
that you obtained from
the
niFgen_init
function
•
Channel_Name
—
”0”
4.
Call
niFgen_ConfigureStandardWaveform()
to select the
channel to output a waveform. Set the following parameters:
•
vi
—The output value
sessionHandle
that you obtained from
the
niFgen_init
function
•
Channel_Name
—
”0”
•
Amplitude
—
10
•
DC_Offset
—
0
•
Frequency
—
1000000
•
Waveform
—
NIFGEN_VAL_WFM_SINE
•
Start_Phase
—
0
5.
Call
niFgen_InitiateGeneration()
to initiate signal generation.
This function causes the function generator to leave its configuration
state and enter its signal generation state. The only parameter required
for this function is
sessionHandle
.
6.
Measure the 1 MHz frequency generated by the NI 54
XX
device at
SYNC OUT using the counter timer. The frequency measurement
should fall between 999,985 Hz and 1,000,015 Hz. A frequency error
of 15 Hz in 1 MHz corresponds to an error of 15 ppm and accounts for
initial accuracy and frequency deviation caused by temperature and
aging.
7.
Call
niFgen_Close()
to close the instrument I/O session, destroy the
instrument driver session and all of its properties, and release any
memory resources the driver uses. The only parameter required for this
function is the
sessionHandle
.
You have completed verifying the device oscillator frequency accuracy of
your NI 54
XX
device.