Loop
counter decision
making
The
analyzer has
a
numeric
register
called
a
loop
counter
.
The
value
of
this register
can be
set
by
a sequence
,
and
it
can
be
incremented
or
decremented
each
time
a
sequence repeats
itself.
The decision
making commands
NN
NN
NN
NN
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
NN
NN
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
NN
NN
N
IF LOOP
COUNTER =
0
and
NN
NN
NN
NN
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
NN
NN
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
NN
NN
NN
NN
IF LOOP
COUNTER <>
0
jump
to
another
sequence
if
the
stated
condition is
true.
When entered
into the
sequence,
these
commands
require
you
to
enter
the
destination
sequence
. Either
command can
jump to
another
sequence
,
or
restart
the current
sequence.
As
explained
earlier
in
\Embedding
the
Value
of The
Loop Counter
in
The
Title
,"
the
loop
counter
value
can
be
appended
to
a title
. This
allows customized
titles
for
data
printouts
or
for
data
les
saved
to
disk.
Naming
Files
Generated
by
a
Sequence
The
analyzer
can automatically
increment the
name
of
a
le
that
is
generated
by
a
sequence
using
a
loop
structure
.
T
o
access
the
sequence
lename
menu,
press:
4
SA
VE/RECALL
5
N
N
N
N
NN
NN
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
NN
NN
N
N
N
N
N
N
N
FILE
UTILITIES
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
SEQUENCE
FILENAMING
This
menu
presents
two
choices:
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
FILE
NAME
FILE0
supplies
a
name
for
the
saved
state
and
or data
le
.
This
also
brings
up
the
Title
File
Menu.
N
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
N
PLOT
NAME
PLOTFILE
supplies a
name for
the
plot
le
generated
by
a
plot-to-disk
command.
This
also
brings
up
the
Title
File
Menu.
The
above
keys
show
the
current
lename
in
the
2nd
line
of
the
softkey
.
When
titling
a
le
for
use
in
a
loop
function,
you
are
restricted
to
only
2
characters
in
the
lename
due
to
the
6
character
length
of
the
loop
counter
keyword
\[LOOP]."
When
the
le
is
actually
written,
the
[LOOP]
keyword
is
expanded
to
only
5
ASCII
characters (digits),
resulting
in
a
7
character
lename
.
After
entering
the
2
character
lename
,
press:
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
N
N
N
N
N
NN
N
N
N
N
N
LOOP COUNTER
N
N
N
N
N
N
NN
N
N
N
N
N
N
DONE
HP-GL Considerations
Entering HP-GL Commands
The analyzer allows you to use HP-GL (Hewlett-P
ackard Graphics
Language) to customize
messages or illustrations on the display of the analyzer
.T
o use HP-GL, the instrument must be
in system controller mode.
HP-GL commands should be entered into a title string using the
4
DISPLAY
5
NNNNNNNNNNNNNN
MORE
NNNNNNNNNNNNNNNNN
TITLE
and
character selection menu.
Application and Operation Concepts 6-143