NI 5421/5441 Calibration Procedure
28
ni.com
7.
Call
niFgen_AbortGeneration
(niFgen Abort Generation VI)
to abort the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
8.
Call
niFgen_SetAttributeViInt32
to choose the negative
full-scale DC waveform (niFgen property node:
Arbitrary
Waveform Output»Arbitrary Waveform Handle
) using
the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_WAVEFORM_HANDLE
•
value
: The
wfmHandle
section (negative full-scale handle)
9.
Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
10. Measure the negative DC voltage out of the NI 5421/5441. This is the
Measured Negative Full-Scale Value
.
11. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to
abort the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
12. Average the
Measured Positive Full-Scale Value
and
Measured
Negative Full-Scale Value
to calculate the
Offset
.
13. Verify that the
Offset
is less than or equal to the
Offset Limit
listed in
Table 6 for the current iteration.
14. Subtract the
Offset
and the
Ideal Full-Scale Value
from the
Measured
Full-Scale Value
to get the
Error Full-Scale Value
for both the positive
and negative settings, respectively.
15. If any of the errors are greater than the
Calibration Test Limit
listed in
Table 6, perform an external adjustment.
16. Call
niFgen_close
(niFgen Close VI) to close the instrument driver
session, to destroy the instrument driver session and all of its
properties, and to release any memory resources that NI-FGEN
uses. Use the following parameter:
•
vi
: The session handle returned from
niFgen_init