
Series 3700A System Switch/Multimeter Reference Manual
Section 11: TSP command reference
3700AS-901-01 Rev. D/June 2018
11-159
dmm.calibration.verifydate
This attribute sets or queries the calibration verification date in UTC format (number of seconds since January 1,
1970).
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Not applicable
DMM nonvolatile memory
Not applicable
Usage
calibrationVerificationDate
= dmm.calibration.verifydate
dmm.calibration.verifydate =
os.time()
calibrationVerificationDate
The number of seconds since January 1, 1970 when
the last calibration verify date was set
os.time({year=yyyy, month=m, day=d})
Specifies the date; if a value is not specified, sets the
verification date to the present date of the instrument
Details
When using the
os.time()
function:
•
If no parameters are specified, the current date and time of the instrument is used. See
example 4 below.
•
Use a table with entries for year as
yyyy
, month as
mm
and day as
dd
to specify a date. See
example 3 below.
) for the formatting options that are available for
os.date
.
This command can only be set when calibration is unlocked.
Example 1
print(os.date("%m/%d/%Y",
dmm.calibration.verifydate))
Assume the system date is July 4, 2007
for this example; queries the calibration
verification date and formats the response
as mm/dd/yyyy:
07/04/2007
Example 2
print(os.date("%x", dmm.calibration.verifydate))
Assume the system date is July 4, 2007
for this example; queries the date and
formats the response as mm/dd/yy:
07/04/07
Example 3
dmm.calibration.verifydate = os.time{year=2007,
month=7, day = 4}
Set the calibration verification date to July
4, 2007.
Example 4
dmm.calibration.verifydate = os.time()
Set the calibration verification to the
present date of the instrument.
Also see
(on page 11-144)
(on page 11-158)