NI 5421/5441 Calibration Procedure
|
©
National
Instruments
|
15
15. Call
niFgen_SetAttributeViReal64
to set the gain (NI-FGEN Gain property) using
the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_GAIN
•
value
: The
Gain
value listed in Table 4 for the current iteration
16. Call
niFgen_SetAttributeViInt32
to choose the positive full-scale DC waveform
(NI-FGEN Arbitrary Waveform Handle property) using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_WAVEFORM_HANDLE
•
value
: The
wfmHandle
from step 10 (positive full-scale handle)
17. Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI) to initiate the
waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
18. Measure the DC voltage from the NI 5421/5441. This value is the
Measured Positive
Full-Scale Value
.
19. Determine the error for positive full scale using the following formula:
Error Positive Full-Scale
=
(
Measured Positive Full-Scale Value
) - (
Ideal Positive Full-Scale Value
)
Compare this error to the calibration limits listed in Table 4.
20. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to abort the waveform
generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
21. Call
niFgen_SetAttributeViInt32
to choose the negative full-scale DC waveform
(NI-FGEN Arbitrary Waveform Handle property) using the following parameters:
•
vi
: The session handle returned from
niFgen_init
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ARB_WAVEFORM_HANDLE
•
value
: The
wfmHandle
from step 13 (negative full-scale handle)
22. Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI) to initiate the
waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
23. Measure the DC voltage from the NI 5421/5441. This value is the
Measured Negative
Full-Scale Value
.