Chapter 3
Adjustment
©
National Instruments Corporation
3-13
2.
Set the gain calibration DAC to 0 by calling the function
ni54xx_SetGainDAC
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
DACValue
—
0
3.
Generate a 0 V DC waveform by calling the function
ni54xx_GenerateWaveform
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
waveType
—
NI54XX_DC
•
amplitudeInVolts
—
0
•
frequencyInHz
—
0
4.
Measure the outputs (
offsetInResetState
).
5.
Enable the analog filter by calling the function
ni54xx_SetAnalogFilter
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
filterState
—
NI54XX_ENABLE
6.
Measure the outputs (
offsetWithAnalogFilterEnabled
).
7.
Disable the analog filter by calling the function
ni54xx_SetAnalogFilter
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
filterState
—
NI54XX_DISABLE
.
8.
Enable the 10 dB attenuator by calling the function
ni54xx_SetAttenuation
. Set the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
attenuation
—
10
9.
Measure the outputs (
offsetWith10dbAttenuatorEnabled
).