User manual

Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-123
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
"KI003706". This may be changed with dmm.calibration.password (on page 13-122).
Also see
dmm.calibration.password (on page 13-122)
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 calibration verify date:
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, 2007:
dmm.calibration.verifydate = os.time({year=2007, 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.
This item can only be set when calibration is unlocked.
Example
NOTE Example assumes the set date is July 4, 2007.
To query calibration verification date and format the response as mm/dd/yyyy:
print(os.date("%m/%d/%Y", dmm.calibration.verifydate))
07/04/2007
To query calibration verification date and format the response as mm/dd/yy:
print(os.date("%x", dmm.calibration.verifydate))
07/04/07
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.