Cfl)
HP
5384A and HP 5385A
SYSTEMS
Q . d p .
• perat1on
an
rogrammmg
g state.
In
the
nmmal state, measU<ements
a'e
made
continuously
regardless
of
whether
or
not
those
measurements
were
read by
the
controller.
3-152.
DR
(string) Remote Display
3-153. The
remote
display
command
is
legal
only
when
the
counter
is
in
the
measurement
mode.
lfthe
command
is
received
while
the
counter
is
in
the
diagnostic
mode,
an
error
will
be
flagged.
3-154. The
remote
display
command
allows
the
user
to
send any message,
12
characters in
length
ex-
cluding
punctuation,
to
the
LCD. A
punctuation
mark
(comma,
colon,
or
decimal
point)
can be sent between
each
of
the
characters.
3-155.
Although
the
counter
will
continue
making
measurements,
the
LCD
will
contain
the
message sent
with
the
"DR"
command
rather
than
the
measure-
ment
data.
3-156.
Whenever
a
new
message
is
to
be displayed,
the
remote
display
command
must be sent. Thus each
new
message
must be sent in the form "DRXXXXXXXXXX",
where
the
X's
represent
the
message
to
be displayed.
Carriage
return,
line
feed,
form
feed,
horizontal
tab,
and vertical tab can be used
as
terminators
for
a
remote
display message. A message sent
to
the
display
will
remain
there
until
a
command
which
causes a
change in
the
display
is
sent
to
the
counter.
3-157. The
remote
display
mode
can
be
terminated
in
several ways. Sending a
"Dl"
(display local)
com-
mand
will
terminate
the
remote
display
mode
with-
out
changing
the
state
of
the
counter
in any
other
way.
When
the
counter
receives this
command,
it
will
clear
the
display and resume displaying measurement
data.
Sending a diagnostic
command
also terminates
the
remote
display
mode,
but
it
causes
the
counter
to
exit
the
measurement
mode
as
well. Pressing
the
RESET
/lOCAl
key
is
another
way
of
terminating
the
remote
display
mode,
however,
the
key
will
cause
the
counter
to
exit
the
remote
state and
enter
the
local
state.
Any
transition
from
the
remote
state
to
the
local
state, caused
by
the
controller,
will
terminate
the
remote
display
mode
as
well.
3-158.
If
an
error
condition
is
generated
while
the
instrument
is
in
the
remote
display
mode,
the
error
message
will
be displayed just
as
in any
other
case.
However,
when
the
error
is
cleared,
the
counter
will
no
longer
be
in
the
remote
display
mode;
it
will
begin
3-18
displaying
the
measurement data rather than
the
message
contained
in
the
LCD
prior
to
the
error
condition.
3-159. DL Display Local
3-160. The display local
command
allows
the
user
to
terminate
the
remote
display
mode
without
changing
the
state
of
the
counter
in
any
other
way.
When
the
counter
receives this
command,
it
will
clear
the
remote
display message and begin displaying mea-
surement data.
3-161. ID and Sl Send Device ID
3-162. These
two
commands
perform
the
same
function.
Whenever
the
counter
receives
either
of
these
two
commands,
it
will
send its I D
to
the
controller.
Either
"HP
5384A"
or
"HP
5385A"
will
be
sent
to
the
controller.
The
counter
will
wait
until
the
device
ID
is
read
by
the
controller
before
it
will
resume
taking
measurements again.
3-163.
SE
Send Error
3-164.
When
the
send
error
command
is
received,
the
instrument
will
send
the
number
of
the
detected
error
(there may
be
more
than
one)
to
the
interface
bus.
We
recommend
the
"SE"
command
be used
in
a
string by
itself.
3-165. LCD Character Set
3-166. Table 3-10 shows
the
characters
the
instru-
ment
can
produce.
Included
in
the
table
is
a
code
needed
to
produce
the
character and
how
the
displayed character
will
look.
3-167. PROGRAM EXAMPLES
3-168. The
following
examples
demonstrate
pro-
gramming
capabilities
of
the
HP
5384A and HP 5385A.
The first
four
examples are
written
for
the
HP-85A
controller.
The
fifth
example
is
written
for
the
HP
41C/CV. A summary
of
the
program
operation
and a
line-by-line description are provided
for
each example.
Example 1
Example 2
Example 3
Example 4
Example 5
Instrument
Identification
Reading Status Byte
Frequency A
Remote
Display
Frequency A
Measurement
•
•
•