
Programming
2714 & 2715 Programmer Manual
6–39
Remote Menu Control
The 2714 or 2715 includes a set of commands and queries for designing menus
on the spectrum analyzer screen, and interacting with these menus by pressing
keys on the spectrum analyzer Keypad. This feature is designed primarily for
making automated measurements with the Tektronix 2402A TekMate
T
, an
external, portable, PC-based controller without a display or keyboard. These
features can also be used with a standard PC controller to define a menu
remotely. This allows the 2714 or 2715 user to interact with menu functions
locally, at the Keypad, and see results on the spectrum analyzer’s display.
Remotely-defined menus are controlled by these four commands:
H
DEFMenu
: defines menu lines to print on the display
H
CLRMenu
: clears the current menu from the display
H
KEY?
: returns the identity of the last key pressed
H
CLRKey
: clears pending key presses
The syntax and use of these commands, including side effects, are described in
Command and Query Definitions. Figure 6–4 shows a test menu that could be
defined by a user. This example shows how different types of actions can be
implemented by selecting the menu commands from a user-defined menu.
The following sequence of instrument-specific commands are used to create the
menu of Figure 6–4:
CLRMENU
DEFMENU L1:"TEST MENU"
DEFMENU L3:" 0 INIT INSTRUMENT"
DEFMENU L4:" 1 CHANGE REF LEVEL
(NOW 12.3DBM)"
DEFMENU L5:" 2 PERFORMANCE TESTS"
DEFMENU L16:"
"<-"" = PREVIOUS MENU"
The initial
CLRMenu
command clears every line in the menu so only the lines that
contain information must be defined. This command also clears the last key
pressed so that subsequent
KEY?
queries return
NULL
until the user presses a key.
Any key presses prior to the menu definition are discarded.
Summary of Contents for 2714
Page 4: ......
Page 11: ...Introduction ...
Page 12: ......
Page 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Page 39: ...Message Structure ...
Page 40: ......
Page 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Page 55: ...Functional Groups ...
Page 56: ......
Page 85: ...Command Query ...
Page 86: ......
Page 179: ...Status Reporting ...
Page 180: ......
Page 197: ...Programming ...
Page 198: ......
Page 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Page 267: ...Appendices ...
Page 268: ......
Page 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Page 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Page 297: ...Index ...
Page 298: ......
Page 307: ......
Page 308: ......