Model 2601B-PULSE System SourceMeter Instrument Reference Manual Section 11: TSP command reference
2601B-PULSE-901-01A April 2020 11-185
Details
This function stores the active set of calibration constants to nonvolatile memory. The previous
calibration constants (from the default calibration set) are copied to the previous calibration set
(smua.CALSET_PREVIOUS) before overwriting the default calibration set.
This function is disabled until a successful call to smua.cal.unlock() is made.
If any of the calibration constants have been changed, this function is disabled unless the calibration
date, the calibration due date, and the calibration adjust date have been assigned new values.
Example
Stores calibration constants in nonvolatile memory.
Also see
Adjustment (on page 13-19)
smua.cal.adjustdate (on page 11-179)
smua.cal.date (on page 11-180)
smua.cal.due (on page 11-181)
smua.cal.lock() (on page 11-182)
smua.cal.restore() (on page 11-184)
smua.cal.unlock() (on page 11-186)
smua.cal.state
This attribute returns the present calibration state.
Usage
calState = smua.cal.state
The present calibration state; when reading this attribute, calState has one of the
following values:
â–ª 0 or smua.CALSTATE_LOCKED: Calibration is locked
â–ª 1 or smua.CALSTATE_CALIBRATING: The calibration constants or dates
have been changed but not yet saved to nonvolatile memory
â–ª 2 or smua.CALSTATE_UNLOCKED: Calibration is unlocked but none of the
calibration constants or dates have changed since the last save/restore
Details
This read-only attribute indicates the calibration state of the instrument: Locked, calibrating,
or unlocked.
Example
calstate = smua.cal.state
print(calstate)
Reads calibration state.
Output:
0.000000e+00
The above output indicates that calibration is locked.