Dmm Functions - Keithley 3700 series Reference Manual

System switch/multimeter
Hide thumbs Also See for 3700 series:
Table of Contents

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
display.waitkey
Example

dmm functions

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
Usage
Remarks
Example
dmm.adjustment.date
Attribute
Usage
Remarks
Document Number: 3700S-901-01 Rev. A / August 2007
The following code pauses script execution and wait for the operator to press a key or
the wheel, or rotate the wheel:
key = display.waitkey()
print(key)  8.600000e+01
The above output (8.600000e+01, or 86) indicates that the RUN key was pressed.
Indicates the number of times the unit has been adjusted.
cal_count = dmm.adjustment.count
cal_count: Represents the number of times unit has been calibrated
Use this attribute to query the unit for the number of times the unit has been calibrated.
This command may be used with calibration locked or unlocked.
To query for the calibration count:
CalCount = dmm.adjustment.count
Sets or queries the adjustment date in UTC format (number of seconds since January
1, 1970).
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))
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.
Section 9: Instrument Control Library (ICL)
9-69

Advertisement

Table of Contents
loading

Table of Contents