Series 3700 System Switch/Multimeter Reference Manual
Section 9
:
Instrument Control Library (ICL)
Document Number: 3700S-901-01 Rev. A / August 2007
9-77
dmm.calibration.unlock
Function
Unlocks calibration.
Usage
dmm.calibration.unlock(password)
password
: A string representing the password to unlock calibration.
Remarks
Use this command to unlock calibration (if locked). An error will be generated if the
password does not match the one saved. The default password from the factory is
―KI003700S‖. This may be changed with
dmm.calibration.password
(on page 9-76).
Also see
dmm.calibration.password
(on page 9-76)
Example
To unlock calibration using the default password:
dmm.calibration.unlock("KI003706")
dmm.calibration.verifydate
Attribute
Set or queries the calibration verification date in UTC format (number of seconds since
January 1, 1970).
Usage
To query the number of seconds since January 1, 1970:
CalDate = dmm.calibration.verifydate
CalDate
: Represents the number of seconds since January 1, 1970.
To set the calibration verification date based on the current date of the system:
dmm.calibration.verifydate = os.time()
To set the calibration verification date as July 4, 2006:
dmm.calibration.verifydate = os.time(year=2006,
month=7, day = 4)
Remarks
This attribute sets and gets the calibration verification date of the DMM in UTC format.
See Lua documentation for formatting options with os.date.
Example
NOTE
Example assumes the set date is July 4, 2006.
To query calibration verification date and format the response as mm/dd/yyyy:
print(os.date("%m/%d/%Y", dmm.calibration.verifydate))
07/04/2006
To query calibration verification date and format the response as mm/dd/yy:
print(os.date("%x", dmm.calibration.verifydate))
07/04/06
dmm.close
Function
Closes the specified channel or channel pattern in preparation for a DMM measurement.
Usage
dmm.close(ch_list)
ch_list
: string listing the channel or channel pattern to close.