User manual
Series 3700 System Switch/Multimeter Reference Manual Section 13: Instrument Control Library (ICL)
3700S-901-01 Rev. C / July 2008 13-109
display.waitkey()
Example
The following code pauses script execution and wait for the operator to press a key or
the navigation wheel, or rotate the navigation wheel:
key = display.waitkey()
print(key) 8.600000e+01
The above output (8.600000e+01, or 86) indicates that the STEP key was pressed.
dmm functions and attributes
Use the functions and attributes in this group to control DMM operation, set
limits, and perform calibration. Default configuration names like "dcvolts",
"temperature", "fourwireohms", etc., imply the reset conditions for the
corresponding functions. For example, sending dmm.setconfig("slot1",
"dcvolts") sets all channels on Slot 1 to use DC volts factory-default settings.
To make a channel use one setting that is different, create a user dmm
configuration with dmm.configure.set("mydcv") and then set "mydcv" to
the desired channels.
dmm.adjustment.count
Attribute
Indicates the number of times the unit has been adjusted.
Usage
cal_count = dmm.adjustment.count
cal_count: Represents the number of times unit has been adjusted.
Remarks
Use this attribute to query the unit for the number of times the unit has been adjusted.
This item can only be set when calibration is unlocked.
Example
To query for the adjustment count:
CalCount = dmm.adjustment.count
dmm.adjustment.date
Attribute
Sets or queries the adjustment date in UTC format (number of seconds since January
1, 1970).
Usage
CalDate = dmm.adjustment.date
CalDate: Represents the number of seconds since January 1, 1970.
To set the adjustment date based on the present date of the system:
dmm.adjustment.date = os.time()
To set the adjustment date as July 4, 2007
dmm.adjustment.date = os.time({year=2007, month=7, day =
4})
Remarks
Use this attribute to set and get the adjustment 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.