12-50
Return to
2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library
Series 2600 System SourceMeter® Instruments Reference Manual
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 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
"Calibration".
Also see
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
Also see
,
Example
Disable calibration functions for SMU A:
smua.cal.lock()