©
National Instruments Corporation
25
NI 5421/5441 Calibration Procedure
4.
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
: The
Ideal Positive Offset
value listed in Table 5 for the
current iteration
5.
Call
niFgen_SetAttributeViReal64
to set the gain (niFgen
property node:
Arbitrary Waveform Output»Arbitrary Waveform
Gain
) 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
6.
Call
niFgen_InitiateGeneration
(niFgen Initiate Generation VI)
to initiate the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
7.
Measure the positive DC voltage out of the NI 5421/5441. This is the
Measured Positive Offset
Value
.
8.
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
Published Spec
or the
Calibration Test Limit
.
9.
Call
niFgen_AbortGeneration
(niFgen Abort Generation VI) to
abort the waveform generation using the following parameter:
•
vi
: The session handle returned from
niFgen_init
10. 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
: The
Ideal Negative Offset
value listed in Table 5 for the
current iteration