©
National Instruments Corporation
41
NI 5421/5441 Calibration Procedure
g.
Call
niFgen_WriteBinary16AnalogStaticValue
(niFgen
Write Binary 16 Analog Static Value VI) to set the main DAC
value using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
value
: –
29232
h.
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
i.
Wait 500 ms for the output to settle.
j.
Use the DMM to measure the voltage output by the device. This
measurement is
measurement 1
, which is used in step 7.
7.
Call
niFgen_CalAdjustMainPathPreAmpGain
(niFgen Cal
Adjust Main Path Pre Amp Gain VI) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
configuration
: The
Current Configuration
value for the current
iteration from Table 8
•
mainDACValues
: An array containing two elements—the two
values (
25233
, –
29232
) that you set for the main DAC—in the
order that you measured them
•
gainDACValues
: An array containing two elements—the two
values (
1500
,
2000
) that you set for the gain DAC—in the order
that you measured them
•
offsetDACValues
: An array containing one element—the value
(
32000
) that you set for the offset DAC
•
measuredOutputs
: An array containing two elements—the
two output voltages (
measurement 0
,
measurement 1
) that
you measured—in the order that you measured them