12-60 Instrument Control Library Series 2600 System SourceMeters Reference Manual
2600S-901-01 Rev. A / May 2006 Return to Section 12 topics
smuX functions and attributes
The functions and attributes in this group are used to control basic source-measure
operations of the SMUs and perform calibration.
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 Section 16 (calibration).
Also see smuX.cal.due, smuX.cal.restore, smuX.cal.save, smuX.makebuffer
Example
Sets calibration date for SMU A (July 1, 2005):
smua.cal.date = os.time({year=2005, month=7, day=1})