![background image](http://html2.mh-extra.com/html/national-instruments/ni-5402/ni-5402_calibration-procedure_3434967015.webp)
©
National Instruments Corporation
15
NI 5402/5406 Calibration Procedure
1.
Connect the NI 5402/5406 CH 0 front panel connector to the power
meter.
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
:
50,000
amplitude
:
1.667
startPhase
:
0
dcOffset
:
0