18
|
ni.com
|
NI 5421/5441 Calibration Procedure
5.
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
: The
Ideal Positive Offset
value listed in Table 5 for the current iteration
6.
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 5 for the current iteration
7.
Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI) to initiate the
waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
8.
Measure the positive DC voltage from the NI 5421/5441. This value is the
Measured
Positive Offset Value
.
9.
Determine the error for positive offset using the following formula:
Error Positive Offset
=
(
Measured Positive Offset Value
) - (
Ideal Positive Offset Value
)
Compare this error to the calibration limits listed in Table 5.
10. Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to abort the waveform
generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
11. 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
: The
Ideal Negative Offset
value listed in Table 5 for the current iteration
12. Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI) to initiate the
waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
13. Measure the negative DC voltage from the NI 5421/5441. This value is the
Measured
Negative Offset Value
.
14. Determine the error for negative offset using the following formula:
Error Negative Offset
=
(
Measured Negative Offset Value
) - (
Ideal Negative Offset Value
)