EasyManuals Logo

Tektronix KEITHLEY 2600B Series User Manual

Tektronix KEITHLEY 2600B Series
834 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #393 background imageLoading...
Page #393 background image
Section 9: TSP command reference Series 2600B System SourceMeter® instrument Reference Manual
9-72 2600BS-901-01 Rev. F/August 2021
display.loadmenu.add()
This function adds an entry to the USER menu, which can be accessed by pressing the LOAD key on the
front panel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
display.loadmenu.add("displayName", "code")
display.loadmenu.add("displayName", "code", memory)
displayName
The name that is added to the USER menu
code
The code that is run from the USER menu
memory
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)
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. Pressing the RUN key then runs
the script.
You can add items in any order. They are always displayed in alphabetical order when the menu
is selected.
Any Lua code can be included in the code parameter. If memory is set to display.SAVE, the entry
(name and code) is saved in nonvolatile memory. Scripts, functions, and variables used in the code
are not saved by display.SAVE. Functions and variables need to be saved with the code. If the
code is not saved in nonvolatile memory, it is lost when the 2600B is turned off. See Example 2
below.
If you do not make a selection for memory, the code is automatically saved to nonvolatile memory.
You can create a script that defines several functions, and then use the display.loadmenu.add()
command to add items that call those individual functions. This allows the operator to run tests from
the front panel.
Example 1
display.loadmenu.add("Test9", "Test9()")
Assume a user script named Test9 is loaded into the runtime environment. Adds the menu entry to the USER
menu to run the script after loading.

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Tektronix KEITHLEY 2600B Series and is the answer not in the manual?

Tektronix KEITHLEY 2600B Series Specifications

General IconGeneral
BrandTektronix
ModelKEITHLEY 2600B Series
CategoryMeasuring Instruments
LanguageEnglish

Related product manuals