Section 7: Command reference
Models 707B and 708B Switching Matrix Reference Manual
7-76
707B-901-01 Rev. A / August 2010
display.loadmenu.catalog()
This function creates an iterator for the User menu items, accessed using the
LOAD
key on the instrument front
panel.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function No
Usage
for displayName in display.loadmenu.catalog() do … end
for displayName, code in display.loadmenu.catalog() do … end
displayName
The name displayed in the LOAD menu
code
The code associated with the
displayName
Details
Each time through the loop,
displayName
and
code
will take on the values in the User menu.
The list that is returned is in random order.
Example
for myNames, listCode in
display.loadmenu.catalog() do
print(myNames, listCode)
end
Output:
Test DUT1() beeper.beep(2, 500)
Part1 testpart([[Part1]], 5.0)
Test9 Test9()
Also see
(on page 7-74)
(on page 7-76)
display.loadmenu.delete()
This function removes an entry from the User menu, which can be accessed using the
LOAD
key on the
instrument 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.