Keithley 3700 series Reference Manual page 206

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

Advertisement

Section 9: Instrument Control Library (ICL)
display.locallockout
Remarks
Example
display.menu
Function
Usage
Remarks
Example
9-62
Setting display.locallockout to display.LOCK prevents the user from interrupting remote
operation by pressing the LOCAL key. Set this attribute to display.UNLOCK to allow
the LOCAL key to abort script/remote operation.
Disables the front panel LOCAL key:
display.locallockout = display.LOCK
Presents a menu on the front panel display.
selection = display.menu(name, items)
name: Menu name to display on the top line.
items: Menu items to display on the bottom line.
The menu consists of the menu name string on the top line, and a selectable list of
items on the bottom line. The menu items must be a single string with each item
separated by whitespace. The name for the top line is limited to 20 characters.
After sending this command, script execution pauses for the operator to select a
menu item. An item is selected by rotating the wheel (or using the cursor keys) to
place the blinking cursor on the item, and then pressing the wheel (or ENTER key).
When an item is selected, the text of that selection is returned.
Pressing the EXIT key will not abort the script while the menu is displayed, but it
will return nil. The script can be aborted by calling the exit function when nil is
returned.
Displays a menu with three menu items. If the second menu item is selected, selection
will be given the value Test2:
selection = display.menu("Sample Menu", "Test1 Test2 Test3")
print(selection)
Output: Test2
Series 3700 System Switch/Multimeter Reference Manual
Document Number: 3700S-901-01 Rev. A / August 2007

Advertisement

Table of Contents
loading

Table of Contents