
Programming
Examples
When
you
tell
the
computer
to
control
an
HP-IB
device
,
you
must
use
a
three
digit
address
.
The
rst
number
(usually
7)
selects
the
HP-IB
bus
,
and
is
called
the
\HP-IB
bus
select
code
."
The
last
two
digits
are
the
address
of
a
specic
instrument
on
the
bus
.
F
or
example
,
when
you
program
the
computer
to
send
the
\PLOP"
command
to
address
705,
the
following
happens:
1.
The
\7"
tells
the
computer
to
select
the
HP-IB
bus
I/O
card
which
is
set
to
bus
select
code
7.
(The
HP-IB
bus
uses
a
\bus
select
code"
because
there
can
be
more
than
one
HP-IB
bus
in
a
computer
system.
The
select
code
allows
you
to
access
multiple
HP-IB
busses
independently
.
2.
The
computer
sends
the
command
\PLOP",
along
with
the
two-digit
instrument
address
number
(05).
3.
All
instruments
on
the
bus
see
the
\PLOP"
command.
But
only
the
device
set
to
address
05
with
accept
the
command
and
perform
it.
(In
this
example
,
a
plotter
set
to
address
05
would
perform
the
PLOP
command,
which
plots
a
list
of
receiver
operating
parameter
values
.)
Devices
on
the
receiver's
System
Bus
only
use
a
two-digit
address
.
A
\bus
select
code"
is
not
needed
because
the
receiver
is
designed
with
only
one
System
Bus
.
When
you
enter
the
addresses
of
system
bus
devices
(in
the
HP
8530A
address
menu),
only
two
digits
are
required.
How
pass
through
works
.
Assume
for
now
that
the
System
Bus
address
(under
4
LOCAL
5
NNNNNNNNNNNNNNNNNNNNNNNNNNNNNNNN
SYSTEM
BUS
)
is
still
set
to
17.
Also
assume
that
you
have
selected
a
printer
of
the
System
Bus
with
the
ADDRPASS
01;
command.
Under
these
conditions
,
the
receiver
will
accept
any
command
sent
to
address
717.
When
such
a
command
is
received,
the
analyzer
passes
it
to
the
system
bus
,
to
the
device
at
address
01.
Refer
to
Figure
18-2.
Figure
18-2.
P
ass
Through
Flow
Here
is
an
example
program:
OUTPUT
Rec;"ADDRPASS
01;"
!
Select
address
01
for
pass
through
commands
OUTPUT
Rec_systbus;
CHR"12"
!
Send
a
form
feed
command
to
the
printer
18-24
HP-IB
Programming
Содержание 8530A
Страница 9: ......
Страница 31: ......
Страница 34: ...General Information Figure 1 2 Antenna Measurement Setup Using an HP 85310A GeneralInformation 1 3 ...
Страница 51: ......
Страница 65: ......
Страница 81: ......
Страница 83: ......
Страница 84: ...5 Menus Block Chapter Contents Calibration Domain Display Markers MenusBlock 5 1 ...
Страница 85: ...5 2 Menus Block ...
Страница 90: ...Calibration Requirements Figure 5 1 Cal and Cal Type Menus MenusBlock 5 7 ...
Страница 93: ...Antenna Calibration 5 10 MenusBlock ...
Страница 167: ......
Страница 195: ......
Страница 201: ......
Страница 209: ......
Страница 249: ......
Страница 281: ......
Страница 411: ......
Страница 419: ...Glossary Glossary 8 ...
Страница 439: ......