Keithley 3700 series Reference Manual page 205

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

Advertisement

Series 3700 System Switch/Multimeter Reference Manual
display.loadmenu.add
Also see
Examples
display.loadmenu.delete
Function
Usage
Remarks
Also see
Example
display.locallockout
Attribute
Usage
Document Number: 3700S-901-01 Rev. A / August 2007
display.loadmenu.delete
Example 1: Assume a script with a function named "DUT1" has already been loaded
into the Series 3700, and the script has NOT been saved in non-volatile memory.
Now assume you want to add a test named "Test" to the USER TESTS menu. You
want the test to run the function named "DUT1" and sound the beeper. The following
command will add "Test" to the menu, define the chunk, and then save displayname
and chunk in non-volatile memory:
display.loadmenu.add("Test", "DUT1() beeper.beep(2, 500)",
display.SAVE)
When "Test" is run from the front panel USER TESTS menu, the function named
"DUT1" will execute and the beeper will beep for two seconds.
Now assume you cycle power on the Series 3700. Since the script was not saved in
non- volatile memory, the function named "DUT1" is lost. When "Test" is again run from
the front panel, the beeper will beep, but "DUT1" will not execute because it no longer
exists in the chunk.
Example 2: This example adds an entry called "Part1" to the front panel USER TESTS
load menu for the chunk "testpart([[Part1]], 5.0)", and saves it in non-volatile memory:
display.loadmenu.add("Part1", "testpart([[Part1]], 5.0)",
display.SAVE)
Deletes an entry from the USER submenu of the LOAD TEST menu.
display.loadmenu.delete(displayname)
displayname: Name to remove from the menu.
This function is used to delete an entry (displayname) from the front panel USER
TESTS submenu of the LOAD TEST menu.
display.loadmenu.add
(on page 9-60)
Removes the entry named "Part1" from the front panel USER TESTS load menu:
display.loadmenu.delete("Part1")
LOCAL key disabled.
To read state of lockout:
lockout = display.locallockout
To write state of lockout:
display.locallockout = lockout
Set lockout to one of the following values:
Unlocks LOCAL key: 0 or display.UNLOCK
Locks out LOCAL key: 1 or display.LOCK
Section 9: Instrument Control Library (ICL)
(on page 9-61)
9-61

Advertisement

Table of Contents
loading

Table of Contents