Keithley SourceMeter 2600 Series Reference Manual page 306

Table of Contents

Advertisement

12-32 Instrument Control Library
display.locallockout
Attribute
LOCAL key disabled.
Usage
lockout = display.locallockout
display.locallockout = lockout
Set
or
0
or
1
Remarks
Setting
interrupting remote operation by pressing the LOCAL key. Set this attribute to
display.UNLOCK
Details
See
"LOCAL
Example
Disables the front panel LOCAL key:
display.locallockout = display.LOCK
display.menu
Function
Presents a menu on the front panel display.
Usage
selection = display.menu(name, items)
name
items
• The menu consists of the menu
Remarks
items
separated by whitespace. The
• After sending this command, script execution holds up and waits 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
returned.
Details
See "Menu" on
Example
Displays a menu with three menu items. If the second menu item is selected,
selection
selection = display.menu("Sample Menu", "Test1 Test2 Test3")
print(selection)
Output:
2600S-901-01 Rev. A / May 2006
to one of the following values:
lockout
display.UNLOCK
display.LOCK
display.locallockout
to allow the LOCAL key to abort script/remote operation.
lockout" on
Section
Menu name to display on the top line.
Menu items to display on the bottom line.
on the bottom line. The menu items must be a single string with each item
. The script can be aborted by calling the
nil
Section
14.
will be given the value
Test2
Return to
Series 2600 System SourceMeters Reference Manual
-- Reads state of lockout.
-- Writes state of lockout.
Unlocks LOCAL key.
Locks out LOCAL key.
to
display.LOCK
14.
string on the top line, and a selectable list of
name
for the top line is limited to 20 characters.
name
:
Test2
Section 12 topics
prevents the user from
function when
exit
nil
is

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents