NI 5421/5441 Calibration Procedure
|
©
National
Instruments
|
13
10. Call
niFgen_CreateWaveformF64
(niFgen Create Waveform (DBL) VI) using the
following parameters:
•
vi
: The session handle returned from
niFgen_init
•
wfmSize
: The size in samples (
500
) of the waveform you created in step 8 or step 9
•
wfmData
: The array of waveform samples that you created in step 8 or step 9
•
wfmHandle
: The variable passed by reference through this parameter receives the
value (waveform handle) that identifies the waveform created by this function
(positive full-scale handle).
11. Create an array of waveform samples for the negative full-scale DC waveform. This array
should contain 500 samples with each sample having the value
-1.0
(representation:
double).
12. (LabVIEW Only) You must call the Initialize Array function to create the array of samples
for step 11. 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 13.
13. Call
niFgen_CreateWaveformF64
(niFgen Create Waveform (DBL) VI) using the
following parameters:
•
vi
: The session handle returned from
niFgen_init
•
wfmSize
: The size in samples (
500
) of the waveform that you created in step 11 or
•
wfmData
: The array of waveform samples that you created in step 11 or step 12
•
wfmHandle
: The variable passed by reference through this parameter receives the
value (waveform handle) that identifies the waveform created by this function
(negative full-scale handle).
14. Call
niFgen_SetAttributeViReal64
to set the offset (NI-FGEN Offset property)
using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_OFFSET
•
value
:
0
Repeat steps 15 through 25 for each of the 24 iterations listed in Table 4, changing the
Gain
value for each iteration
Table 4.
Values for Verifying the Gain of the Main Analog Path
Iteration
Gain
Ideal Positive
Full-Scale
(Volts)
Ideal Negative
Full-Scale
(Volts)
As-Found
Limits (Volts)
As-Left
Limits(Volts)
1
12.000000
12.000000
-12.000000
±0.048500
±0.019700
2
10.000000
10.000000
-10.000000
±0.040500
±0.016500
3
7.000000
7.000000
-7.000000
±0.028500
±0.011700