7: TSP command reference Series 2600B System SourceMeter® Instrument
7-186 2600BS-901-01 Rev. B / May 2013
Details
This attribute stores the calibration due date associated with the active calibration set. The calibration due date
can be read at any time but can only be assigned a new value when calibration has been enabled with the
smuX.cal.unlock() function. It is typically set to the date when the next calibration should be performed.
This attribute is stored with the active calibration set. If a different calibration set is restored, this attribute will
reflect the due date stored with that set.
smuX.cal.due must be set to the date the next calibration is required using the UTC time and date. The date is
stored as the number of seconds since UTC 12:00 am Jan 1, 1970.
Due to the internal storage format, smuX.cal.due is only accurate to within a few minutes of the value set.
Example
smua.cal.due = os.time() + 365 * 24 * 60 * 60
Sets the SMU channel A calibration due date
equal to one year from the current time set on
the instrument.
Also see
Adjustment (on page B-18)
os.time() (on page 7-151)
smuX.cal.adjustdate (on page 7-184)
smuX.cal.date (on page 7-184)
smuX.cal.lock() (on page 7-186)
smuX.cal.restore() (on page 7-188)
smuX.cal.state (on page 7-189)
smuX.cal.unlock() (on page 7-190)
smuX.cal.lock()
This function disables the commands that change calibration settings.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
smuX.cal.lock()
Source-measure unit (SMU) channel (for example, smua.cal.lock() specifies
Details
This function disables functions that can change calibration settings. Before you can lock calibration, the
calibration constants must be written to nonvolatile memory or a previous calibration set must be restored. Error
code 5012, "Cal data not saved - save or restore before lock," will result if this function is called when the
calibration state is smuX.CALSTATE_CALIBRATING.
Example
Disables calibration functions for SMU channel A.
Also see
Adjustment (on page B-18)
smuX.cal.restore() (on page 7-188)
smuX.cal.save() (on page 7-189)
smuX.cal.state (on page 7-189)
smuX.cal.unlock() (on page 7-190)