16
|
ni.com
|
NI 5412 Calibration Procedure
10. Call
niFgen_CreateArbWaveform
(niFgen Create Arbitrary Waveform 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 9.
•
wfmData
: The array of waveform samples that you created in step 9.
•
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).
11. Call
niFgen_SetAttributeViReal64
to set the offset (niFgen property node:
Arbitrary Waveform Output»Arbitrary Waveform Offset
) using the following
parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_OFFSET
•
value
:
0
Repeat steps 12 through 22 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)
Calibration
Test Limit
(Volts)
Published
Specification
(Volts)
1
12.000000
12.000000
-12.000000
±0.019700
±0.048500
2
10.000000
10.000000
-10.000000
±0.016500
±0.040500
3
7.000000
7.000000
-7.000000
±0.011700
±0.028500
4
5.000000
5.000000
-5.000000
±0.008500
±0.020500
5
3.500000
3.500000
-3.500000
±0.006100
±0.014500
6
2.500000
2.500000
-2.500000
±0.004500
±0.010500
7
2.000000
2.000000
-2.000000
±0.003700
±0.008500
8
1.650000
1.650000
-1.650000
±0.003140
±0.007100
9
1.250000
1.250000
-1.250000
±0.002500
±0.005500
10
0.850000
0.850000
-0.850000
±0.001860
±0.003900
11
0.600000
0.600000
-0.600000
±0.001460
±0.002900
12
0.415000
0.415000
-0.415000
±0.001164
±0.002160