Data Logging Macro - Tektronix 4106 Operator's Manual

Computer display terminals
Table of Contents

Advertisement

HOW
TO CREATE MACROS
Data Logging Macro
You can program a single
key
to turn data logging on or off
(that is,
toggle data
logging) rather than
having to enter
Setup and explicitly
issue
the AUTOPRINT
command
.
Here
's
how:
1.
Put
the
terminal
in
Setup.
2.
Enter this
command
:
NVLEARN
The terminal displays
the
following prompt:
Press the key to be defined
:
3.
Press
the FB function key. The screen displays
the number
135 (the
macro
number for the
FB
key) after the colon
,
and the following
message
appears on
the next line:
Enter definition. (F1 terminates definition, F2 deletes last character)
4.
Assuming
the key-execute character is
oL
(entered as Ctrl-P)
,
enter this
macro
definition
using the
host
syntax for data
logging:
I
Ctrl-P
1
1
Esc
I
[?3i
I
Ctrl-P
I
Your command appears on the screen like
this:
5.
To end the macro
definition,
press the F1 key.
6.
If you want to save the macro
in
nonvolatile
memory,
enter:
NVSAVE
You can test this macro without a host
,
but be sure
a
printer
is
connected to the
terminal and turned on
,
then:
1.
Check
that your terminal
is in
Setup
,
then put the
term
inal
in ANSI mode
by
entering
:
CODE ANSI
2.
Then check the data logging status by entering
:
STATUS AUTOPRINT
3.
Noting whether the status message says AUTOPRINT .
..
NO
or
AUTOPRINT
.
.
. YES
,
take the terminal out of
Setup
.
4.
Press FB
.
5.
Enter Setup again and check the data logging status:
3-34
STATUS AUTOPRINT
The data logging status should be the reverse of
what
it was
in
Step
2.
When
data logging
is
active
,
all text and dialog in the dialog area will be printed on
the
printer.
4106/4107/4109 OPERATORS

Advertisement

Table of Contents
loading

This manual is also suitable for:

41074109

Table of Contents