Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-45
channel.calibration.verifydate()
This function gets or sets the date the calibration was verified in UTC format (number of seconds since January 1,
1970).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
returnDate
= channel.calibration.verifydate("slot
X
")
returnDate
= channel.calibration.verifydate("slot
X
",
date
)
returnDate
The verification date returned from the function call
X
The slot number (
1
to
6
)
date
UTC formatted date to which to set the calibration verification date
Details
This command gets the verification date whether calibration is presently locked or unlocked. If the slot
is not defined, the unlocked channel is assumed.
This command can only set the verification date on a previously unlocked card. The date is not
permanently saved until
channel.calibration.save()
is issued.
There is only one verification date per card. If more than one slot is defined, an error is generated.
Example
channel.calibration.unlock("slot1", "KI3706")
print(channel.calibration.verifydate(os.time{year=2010, month=8, day=5}))
channel.calibration.save()
channel.calibration.lock()
print(os.date("%m/%d/%Y", channel.calibration.verifydate("slot1")))
Unlock the calibration for the card in slot 1 using the default password.
Set the verify calibration date to August 5, 2010.
Get the newly set verification date in a user-readable format.
Save the new verification date.
Lock the calibration.
Output:
1281009600
08/05/2010
Also see
http://www.lua.org/pil/22.1.html
http://www.mbari.org/staff/rich/utccalc.htm
channel.calibration.adjustdate()
(on page 11-38)
(on page 11-41)