![Tektronix 2714 Скачать руководство пользователя страница 237](http://html1.mh-extra.com/html/tektronix/2714/2714_programmers-manual_1077901237.webp)
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.
Содержание 2714
Страница 4: ......
Страница 11: ...Introduction ...
Страница 12: ......
Страница 38: ...Introduction to Programming 1 26 2714 2715 Programmer Manual ...
Страница 39: ...Message Structure ...
Страница 40: ......
Страница 54: ...Instrument Specific Message Structure 2 14 2714 2715 Programmer Manual ...
Страница 55: ...Functional Groups ...
Страница 56: ......
Страница 85: ...Command Query ...
Страница 86: ......
Страница 179: ...Status Reporting ...
Страница 180: ......
Страница 197: ...Programming ...
Страница 198: ......
Страница 266: ...Programming 6 68 2714 2715 Programmer Manual ...
Страница 267: ...Appendices ...
Страница 268: ......
Страница 276: ...Appendix A RS 232 Concepts A 8 2714 2715 Programmer Manual ...
Страница 296: ...Appendix B GPIB System Concepts B 20 2714 2715 Programmer Manual ...
Страница 297: ...Index ...
Страница 298: ......
Страница 307: ......
Страница 308: ......