![NI 5421 Calibration Procedure Download Page 12](http://html1.mh-extra.com/html/ni/5421/5421_calibration-procedure_1685638012.webp)
12
|
ni.com
|
NI 5421/5441 Calibration Procedure
3.
Call
niFgen_SetAttributeViBoolean
to set the analog filter state (NI-FGEN
Analog Filter Enabled property) using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_FILTER_ENABLED
•
value
:
VI_FALSE
4.
Call
niFgen_SetAttributeViReal64
to set the load impedance (NI-FGEN Load
Impedance property) 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 (NI-FGEN Analog Path
property) 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 (NI-FGEN Output
Impedance property) 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 (NI-FGEN Output
Enabled property) 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).
9.
(LabVIEW Only) You must call the Initialize Array function to create the array of samples
for step 8. Wire 1.0 to the
element
input and specify a dimension size of 500. Wire the
initialized array
output of the Initialize Array function to the
Waveform Data Array
input of the niFgen Create Waveform (DBL) VI in step 10.