NI 5402/5406 Calibration Procedure
20
ni.com
a.
Set the frequency by calling the niFgen Property Node and
selecting
Standard Function Output»Frequency
.
b.
Use the power meter to measure the power level output of the
NI 5402/5406. This value is the measured power of the generated
sine wave (dB).
c.
Check to see whether the sine wave flatness error falls between the
high and low flatness error calibration test limits. Flatness error
can be determined by using the following calculation:
Sine Wave Flatness Error =
(
Measured Power of Generated Sine Wave) –
(Measured Power of 50kHz Sine Wave)
d.
Repeat steps 10a through 10c for each frequency in Table 4.
11. Abort waveform generation by calling the niFgen Abort
Generation VI.
LabVIEW Block Diagram
C/C++ Function Call
Call
niFgen_Set
AttributeViReal64
using the following
parameters:
vi
: The session handle
returned from
niFgen_init
.
channelName
:
"0"
attributeID
:
NIFGEN_
ATTR_FUNC_FREQUENCY
value
: The current
Frequency
value from
Table 4
LabVIEW Block Diagram
C/C++ Function Call
Call
niFgen_Abort
Generation
using the following
parameter:
vi
: The session handle
returned from
niFgen_init
.