![NI 5421 Calibration Procedure Download Page 41](http://html1.mh-extra.com/html/ni/5421/5421_calibration-procedure_1685638041.webp)
NI 5421/5441 Calibration Procedure
|
©
National
Instruments
|
41
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 generated 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 11
•
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
Adjusting the Main Analog Path Postamplifier Gain and Offset
1.
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
:
0
2.
Call
niFgen_SetAttributeViBoolean
to set the analog filter state (NI-FGEN
Analog Filter Enabled property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_ANALOG_FILTER_ENABLED
•
value
:
VI_FALSE
3.
Call
niFgen_SetAttributeViReal64
to set the preamplifier attenuation (NI-FGEN
Pre-Amplifier Attenuation property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_PRE_AMPLIFIER_ATTENUATION
•
value
:
0