©
National Instruments Corporation
37
NI 5421/5441 Calibration Procedure
d.
Wait 500 ms for the output to settle.
e.
Use the DMM to measure the voltage output by the device. This
measurement is
measurement
0
, which is used in step 8.
f.
Call
niFgen_SetAttributeViInt32
to set the gain DAC value
(niFgen property node:
Calibration»Gain DAC Value
) using the
following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
1000
g.
Call
niFgen_Commit
(niFgen Commit VI) to commit the
attribute values to the device using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
h.
Wait 500 ms for the output to settle.
i.
Use the DMM to measure the voltage output by the device. This
measurement is
measurement 1
, which is used in step 8.
j.
Call
niFgen_SetAttributeViInt32
to set the offset DAC
value (niFgen property node:
Calibration»Offset DAC Value
)
using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OFFSET_DAC_VALUE
•
value
:
15000
k.
Call
niFgen_Commit
(niFgen Commit VI) to commit the
attribute values to the device using the following parameter:
•
vi
: The session handle returned from
niFgen_InitExtCal
l.
Wait 500 ms for the output to settle.
m. Use the DMM to measure the voltage output of the device. This
measurement is
measurement 2
, which is used in step 8.