
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-39
Details
This command can get the adjust date whether calibration is currently locked or unlocked. If the
channelList
parameter is not specified, it uses the currently unlocked card.
This command can only set the adjustment date on a previously unlocked card. The date is not
permanently saved until the
channel.calibration.save()
command is sent.
There is only one adjustment date per card. Therefore, the only acceptable values for
channelList
are
slot
X
. An error is generated if any other values are used.
Example 1
adjustmentDate = channel.calibration.adjustdate("slot2")
Gets the adjustment date for the card in slot 2.
Example 2
NewAdjustDate = os.time{year=2010, month=12, day=28, hour=17, min=35, sec=0}
channel.calibration.unlock("slot5", "KI3706")
myDate = channel.calibration.adjustdate("slot5", NewAdjustDate)
channel.calibration.save()
channel.calibration.lock()
print(os.date("%c", myDate))
Assign the UTC time for December 28, 2010 at 17:35:00 GMT to NewAdjustDate.
Unlock the calibration for the card in slot 5, assuming the default password.
Set the adjustment date using NewAdjustDate for the card in slot 5.
Save the adjustment date on the card on slot 5.
Lock the calibration for the card in slot 5.
View the date for
myDate
.
Also see
http://www.lua.org/pil/22.1.html
http://www.mbari.org/staff/rich/utccalc.htm
channel.calibration.adjustcount()
(on page 11-38)
(on page 11-41)
channel.calibration.verifydate()
(on page 11-45)