
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-70
2606B-901-01 Rev. B / May 2018
display.loadmenu.delete()
This function removes an entry from the USER menu, which can be accessed using the
LOAD
key on the virtual
front panel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
display.loadmenu.delete(
displayName
)
displayName
The name to be deleted from the USER menu
Details
If you delete an entry from the USER menu, you can no longer run it by pressing the
LOAD
key.
Example
display.loadmenu.delete("Test9")
for displayName, code in
display.loadmenu.catalog() do
print(displayName, code)
end
Deletes the entry named “Test9”
Output:
Test DUT1() beeper.beep(2, 500)
Part1 testpart([[Part1]], 5.0)
Also see
display.locallockout
This attribute describes whether or not the EXIT (LOCAL) key on the instrument virtual front panel is enabled.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
Power cycle
Not saved
0 (display.UNLOCK)
Usage
lockout
= display.locallockout
display.locallockout =
lockout
lockout
0
or
display.UNLOCK
: Unlocks EXIT (LOCAL) key
1
or
display.LOCK
: Locks out EXIT (LOCAL)
key
Details
Set
display.locallockout
to
display.LOCK
to prevent the user from interrupting remote
operation by pressing the EXIT (LOCAL) key.
Set this attribute to
display.UNLOCK
to allow the EXIT (LOCAL) key to interrupt script or remote
operation.
Example
display.locallockout = display.LOCK
Disables the virtual front-panel EXIT (LOCAL) key.