![background image](http://html2.mh-extra.com/html/keithley/sourcemeter-2601/sourcemeter-2601_reference-manual_4018913309.webp)
2600S-901-01 Rev. C / January 2008
Return to
12-49
Series 2600 System SourceMeter® Instruments Reference Manual
Section 12: Instrument Control Library
Usage
Adjustdate = smuX.cal.adjustdate
-- Read the adjustment date.
smuX.cal.adjustdate = adjustdate
-- Write the adjustment date.
Set adjustdate 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 adjustment date associated with the active calibration set. The
adjustment 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.
• You cannot change the adjust date with first making a change to the calibration
constants.
• Once you change any calibration constants, you must set the adjust date before being
allowed to save the calibration data to NV memory.
• This attribute is stored with the active calibration set. If a different calibration set is
restored, this attribute will reflect the date stored with that set.
• Hour and minute can also be included in adjustdate 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
(calibration)
Also see
,
,
,
Example
smuX.cal.adjustdate = os.time({year = 2006, month=7, day=1})
smuX.cal.date
X = SMU channel (a or b)
Attribute
Calibration date for the active calibration set.
Usage
caldate = smuX.cal.date
-- Reads calibration date.
smuX.cal.date = caldate
-- Writes calibration date.
Set
caldate
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 date associated with the active calibration set.
The calibration 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 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
"Calibration".
Also see
,
Example
Sets calibration date for SMU A (July 1, 2005):
smua.cal.date = os.time({year=2005, month=7, day=1})
smuX.cal.due
X = SMU channel (a or b)
Attribute
Calibration due date for the next calibration.