Tektronix Keithley 2651A Reference Manual page 424

High power system sourcemeter instrument
Table of Contents

Advertisement

Model 2651A High Power System SourceMeter® Instrument Reference Manual
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 by pressing the LOAD key on the
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. 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 Model 2651A is turned off. See Example
2 below.
2651A-901-01 Rev. C October 2021
1.35000e+00
(on page 7-85)
(on page 7-89)
(on page 7-90)
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)
Section 7: TSP command reference
-0.10 and 2.00:
")
Where saved
Default value
7-79

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the Keithley 2651A and is the answer not in the manual?

Subscribe to Our Youtube Channel

Table of Contents