7: TSP command reference Series 2600B System SourceMeter® Instrument
7-200 2600BS-901-01 Rev. C / August 2016
Also see
Adjustment (on page B-18)
os.time() (on page 7-164)
smuX.cal.adjustdate (on page 7-198)
smuX.cal.due (on page 7-200)
smuX.cal.lock() (on page 7-201)
smuX.cal.restore() (on page 7-203)
smuX.cal.save() (on page 7-204)
smuX.cal.state (on page 7-204)
smuX.cal.unlock() (on page 7-205)
smuX.cal.due
This attribute stores the calibration due date for the next calibration.
Type TSP-Link accessible Affected by Where saved Default value
Usage
calDue = smuX.cal.due
smuX.cal.due = calDue
Due date of next calibration (0 indicates that no date is set)
Source-measure unit (SMU) channel (for example, smua.cal.due applies to
SMU channel A)
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
Also see
Adjustment (on page B-18)
os.time() (on page 7-164)
smuX.cal.adjustdate (on page 7-198)
smuX.cal.date (on page 7-199)
smuX.cal.lock() (on page 7-201)