©
National Instruments Corporation
19
NI 5421/5441 Calibration Procedure
4.
Call
niFgen_SetAttributeViReal64
to set the load impedance
(niFgen property node:
Output Attributes»Load Impedance
)
using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_LOAD_IMPEDANCE
•
value
:
10000000000
5.
Call
niFgen_SetAttributeViInt32
to set the analog path (niFgen
property node:
Output Attributes»Analog Path
) using the following
parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_PATH
•
value
:
NIFGEN_VAL_MAIN_ANALOG_PATH
6.
Call
niFgen_SetAttributeViReal64
to set the output impedance
(niFgen property node:
Basic Operation»Output Impedance
) using
the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_IMPEDANCE
•
value
:
50
7.
Call
niFgen_SetAttributeViBoolean
to enable the analog output
(niFgen property node:
Basic Operation»Output Enabled
) using
the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OUTPUT_ENABLED
•
value
:
VI_TRUE
8.
Create an array of waveform samples for the positive full-scale DC
waveform. This array should contain 500 samples with each sample
having the value
1.0
(representation: double).