Chapter 2
Verification
2-4
ni.com
3.
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
.
4.
Measure the 0.0 V DC generated by your NI 54
XX
device at ARB
OUT using the DMM. The deviation from 0.0 V—the offset—should
be less than
±
5 mV DC.
5.
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
.
Verifying Amplitude Accuracy
Use a DMM to measure the amplitude accuracy of your NI 54
XX
by
generating a 10 Vpp (into 50
Ω) 1
k
Η
z sine wave:
1.
Complete the setup steps described in the
section.
2.
Call
niFgen_EnableAnalogFilter()
to select the channel to
enable an analog filter on. Set the following parameters:
•
vi
—The output value
sessionHandle
that you obtained from
the
niFgen_init
function
•
Channel_Name
—
”0”
•
Filter Correction Frequency
—
0
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
—
1000