![NI 5421 Calibration Procedure Download Page 44](http://html1.mh-extra.com/html/ni/5421/5421_calibration-procedure_1685638044.webp)
44
|
ni.com
|
NI 5421/5441 Calibration Procedure
•
configuration
: The
Current Configuration
value for the current iteration from
Table 12
•
mainDACValues
: An array containing two elements—the values (
0
,
0
)—that you set
on the main DAC
gainDACValues
: An array containing one element—the value
(
2000
)—that you set on the gain DAC
•
offsetDACValues
: An array containing two elements—the two values (
50000
,
15000
)—that you set on the offset DAC in order
•
measuredOutputs
: An array containing two elements—the two output voltages
(
measurement 0
,
measurement 1
)—that you measured in order
Adjusting the Direct Analog Path Gain
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_SetAttributeViInt32
to set the gain DAC value (NI-FGEN Gain DAC
Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_GAIN_DAC_VALUE
•
value
:
2000
3.
Call
niFgen_SetAttributeViInt32
to set the offset DAC value (NI-FGEN Offset
DAC Value property) using the following parameters:
•
vi
: The session handle returned from
niFgen_InitExtCal
•
channelName
:
"0"
•
attributeID
:
NIFGEN_ATTR_OFFSET_DAC_VALUE
•
value
:
32767
4.
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
5.
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