26
|
ni.com
|
NI 5412 Calibration Procedure
5. Call
niFgenCommit
(niFgen Commit VI) to commit the attribute values to the device
using the following parameter:
•
vi:
The session handle returned from
niFgen_init
6. Null the power meter according to the power meter documentation.
7. Configure the power meter using the following settings:
•
Average: 16
•
Measure watts
•
Channel 0 power sensor connected to the NI 5412
•
High accuracy
8. Call
niFgen_ConfigureSampleRate
(niFgen Set Sample Rate VI) using the following
parameters:
•
vi
: The session handle returned from
niFgen_init
•
Sample Rate
: 100 MS/s (
100000000
)
9. Call
niFgen_CreateWaveformF64
(niFgen Create Waveform (DBL) VI) using the
following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
wfmSize
: The size in samples of the waveform.
•
wfmArray
: The array of waveform samples (double representation).
•
wfmHandle
: A pointer to a waveform. The variable passed by reference through this
parameter acts as a handle to the waveform and can be used for setting the active
waveform, changing the data in the waveform, building sequences of waveforms, or
deleting the waveform when it is no longer needed.
Note
In LabVIEW, you must call the Sine Pattern VI to create an array of
waveform samples with an
amplitude
of 1, and
samples
and
cycles
that correspond
to the current iteration in Table 7. Wire the
Sinusoidal Pattern
output of the Sine
Pattern VI to the
Waveform Data Array
input of the niFgen Create
Waveform (DBL) VI.
Table 7.
NI 5412 Setup for Frequency Response (Flatness) Verification
Iteration
Frequency
(Hz)
Number
of
Samples
Number
of
Cycles
Published Specification
Low-Gain
Amplifier
High-Gain
Amplifier
1
50,000
2,000
1
-1 dB to +1 dB
-1 dB to +1 dB
2
1,000,000
1,000
10
-1 dB to +1 dB
-1 dB to +1 dB
3
2,000,000
1,000
20
-1 dB to +1 dB
-1 dB to +1 dB
4
3,000,000
1,000
30
-1 dB to +1 dB
-1 dB to +1 dB