©
National Instruments Corporation
35
NI 5402/5406 Calibration Procedure
5.
Configure the waveform by calling the niFgen Configure Standard
Waveform VI.
6.
Set the analog data mask by calling the niFgen Property Node and
selecting
Output Attributes»Data Mask»Analog Data Mask
.
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_SQUARE
frequency
:
1,000,000
amplitude
: The
Amplitude
value for the
current iteration from
Table 6
startPhase
:
0
dcOffset
: The
DC Offset
value for the current
iteration from Table 6
LabVIEW Block Diagram
C/C++ Function Call
Call
niFgen_Set
AttributeViInt32
using the following
parameter:
vi
: The session handle
returned from
niFgen_init
.
channelName
:
"0"
attributeID
:
NIFGEN_ATTR_ANALOG_
DATA_MASK
value
:
x0