
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-180
2606B-901-01 Rev. B / May 2018
smuX.cal.lock()
This function disables the commands that change calibration settings.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
smu
X
.cal.lock()
X
Source-measure unit (SMU) channel (for example,
smua.cal.lock()
specifies SMU channel A)
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," results if this function is
called when the calibration state is
smu
X
.CALSTATE_CALIBRATING
.
Example
smua.cal.lock()
Disables calibration functions for SMU channel A.
Also see
(on page B-10)
(on page 7-182)
(on page 7-183)
(on page 7-183)
smuX.cal.password
This attribute stores the password required to enable calibration.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (W)
Yes
Not applicable
SMU nonvolatile
memory
"KI0026XX"
Usage
smu
X
.cal.password = "
newPassword
"
X
SMU channel (for example,
smua.cal.password
applies to SMU channel A)
newPassword
A string that contains the new password
Details
A new password can only be assigned when calibration has been unlocked.
The calibration password is write-only and cannot be read.
Example
smua.cal.password = "LetMeIn"
Assigns a new calibration password for SMU channel A.