Series 2600 System SourceMeters Reference Manual Instrument Control Library 12-61
Return to Section 12 topics 2600S-901-01 Rev. A / May 2006
smuX.cal.due
X = SMU channel (a or b)
Attribute Calibration due date for the next calibration.
Usage caldue = smuX.cal.due -- Reads calibration due date.
smuX.cal.due = caldue -- Writes calibration due date.
Set caldue to the following value:
os.time({year=yr, month=mo, day=da})
where: yr 2005 to 2037
mo 1 to 12
da 1 to 31
Remarks
• 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.
• 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.
• Hour and minute can also be included in caldate as follows:
os.time({year=yr, month=mo, day=da, hour=hr, minute=mn})
Seconds can be included, but will essentially be ignored due to the precision of the
internal date storage format.
• The date is stored as the number of seconds since UTC 12:00 am Jan 1, 1970.
Details See Section 16 (calibration).
Also see smuX.cal.date, smuX.cal.restore, smuX.cal.state, smuX.makebuffer
Example
Sets calibration due date for SMU A (July 1, 2006):
smua.cal.due = os.time({year=2005, month=7, day=1})
smuX.cal.lock
X = SMU channel (a or b)
Function Disables commands that change calibration settings.
Usage smuX.cal.lock()
Remarks This function will disable the calibration functions that can change the calibration
settings. It is an error to call this function while the calibration state is
smuX.CALSTATE_CALIBRATING. The calibration constants must be written to non-
volatile memory, or a previous calibration set must be restored prior to locking
calibration.
Details See Section 16 (calibration).
Also see smuX.cal.restore, smuX.cal.save, smuX.cal.state, smuX.makebuffer
Example
Disable calibration functions for SMU A:
smua.cal.lock()