Chapter 3
Adjustment
3-4
ni.com
Adjusting Your NI 54
XX—
Procedural Overview
To adjust your NI 54
XX
device, complete the following steps. You may also
want to see the
External Calibration
examples in LabVIEW or C, which
you can find in Table 1-3.
1.
Call
ni54xx_CalStart
to open the session using the following
parameters:
•
device
—The device number of the device you want to calibrate,
which is assigned by MAX.
•
password
—A four-character password. The default password is
‘ARBI’ if you have not already changed the password.
•
sessionHandle
—A pointer to an integer that thereafter functions as
a handle for the calibration session
2.
Reset the device to the default state by calling the following functions:
a.
Call
ni54xx_DeviceReset
using the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
b.
Call
ni54xx_SetAttenuation
to disable all the attenuators
using the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
attenuation
—
0
c.
Call
ni54xx_SetDigitalFilter
to enable the digital filter
using the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
filterState
—
NI54XX_ENABLE
d.
Call
ni54xx_SetAnalogFilter
to disable the analog filter using
the following parameters:
•
sessionHandle
—The handle of the calibration session for the
device
•
filterState
—
NI54XX_DISABLE