Display.loadmenu.add() - Keithley 708B Reference Manual

Switching matrix
Hide thumbs Also See for 708B:
Table of Contents

Advertisement

Section 7: Command reference
Example
display.clear()
display.settext("Enter value between$N
value = display.inputvalue("+0.00", 0.5, -0.1, 2.0)
print("Value entered = ", value)
Displays an editable field (+0.50) for operator input. The valid input range is –0.10 to +2.00, with a default of
0.50.
Output:
Value entered =
Also see
display.prompt()
display.setcursor()
display.settext()

display.loadmenu.add()

This function adds an entry to the User menu, which can be accessed using the LOAD key on the instrument front
panel.
Type
TSP-Link accessible
Function
Yes
Usage
display.loadmenu.add(displayName, code)
display.loadmenu.add(displayName, code, memory)
displayName
code
memory
Details
After adding code to the load menu, you can run it from the front panel by pressing the LOAD key, then selecting
User to select from the available code to load.
After loading the code, you can execute it when the RUN key is pressed.
You can add items in any order. They are always displayed in alphabetic order when the menu is selected.
The code can be made up of scripts, functions, variables, and commands. If memory is set to display.SAVE,
commands are saved with the code in nonvolatile memory. Scripts, functions, and variables used in the code are
not saved by display.SAVE. Functions and variables need to be saved along with the script. If the script is not
saved in nonvolatile memory, it will be lost when the Models 707B and 708B are turned off. See Example 2
below.
If you do not make a selection for memory, the code is automatically saved to nonvolatile memory.
7-74
1.350000000e+00
(on page 7-78)
(on page 7-81)
(on page 7-82)
Affected by
The name that is added to the User menu.
The code that is run from the User menu.
Determines if code is saved to nonvolatile memory:
0 or display.DONT_SAVE: Does not save the code to nonvolatile memory.
1 or display.SAVE: Saves the code to nonvolatile memory (default).
Models 707B and 708B Switching Matrix Reference Manual
-0.10 and 2.00:
")
Where saved
Default value
707B-901-01 Rev. A / August 2010

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

707b

Table of Contents