Using Macro Commands; Selecting Macro Command Syntax - Tektronix 4106 Operator's Manual

Computer display terminals
Table of Contents

Advertisement

HOW TO CREATE MACROS
USING MACRO COMMANDS
There are four different commands you can use to create a macro
:
• LEARN helps you program keys (identified by macro numbers -150 through
143).
When you enter the LEARN command
,
the terminal prompts you for your
subsequent entries to define the macro
.
Macros defined with LEARN are lost
when the terminal is turned off or
reset,
or when you issue a FACTORY
command
.
• NVLEARN works like LEARN
,
except that NVLEARN macros can be saved in
nonvolatile memory by issuing NVSAVE following the macro
definition.
• DEFINE lets you define a macro for any key or macro number (including macros
144 and up
,
which do not correspond to any keys)
.
A macro created with
DEFINE is lost when you turn off or reset the terminal
,
or when you issue a
FACTORY command. The DEFINE command is primarily for defining macros
from the host and is not further described in this manual - for more information
about the DEFINE
command,
refer to the 41061410714109/CX Programmers
Reference
Manual.
• NVDEFINE works just like DEFINE except that NVDEFINE macro can be saved
in nonvolatile memory by issuing NVSAVE following the macro definition. The
NVDEFINE command is primarily for defining macros from the host and is not
further described in this manual - for more information about the NVDEFINE
command
,
refer to the 41061410714109/CX Programmers Reference Manual.
A macro created by NVLEARN or NVDEFINE is not automatically saved
in nonvolatile memory. If you want to save the
macro,
you must enter
an NVSAVE command before turning off the power, issuing
a
RESET
command,
or issuing
a
FACTORY
command.
A limited amount of
memory is available to save nonvolatile macros.
SELECTING MACRO COMMAND SYNTAX
Commands within a macro are usually in host
syntax,
rather than in Setup syntax
(your 41061410714109/CX Programmers Reference Guide explains host syntax)
.
This allows you to use the macro while you are communicating with the host -
remember that the terminal only understands Setup syntax when it is in
Setup.
When you use host syntax commands in a macro
,
be sure the terminal is not in
Setup when you press the programmed key.
Commands to the terminal in a macro can be Setup commands.
This, however,
requ ires the terminal to be in Setup before you press the programmed
key.
(Remember that you cannot commun icate with the host while in Setup
.)
3-28
4106/4107/4109 OPERATORS

Advertisement

Table of Contents
loading

This manual is also suitable for:

41074109

Table of Contents