
HP-IB
Programming
Basics
HP-IB
Command
Information
Order
of
Programming
Commands
Use
standard
HP-IB
protocol
to
program
the
system
state
using
generally
the
same
sequence
as
you
press
receiver
front
panel
hardkeys
and
softkeys
.
From
the
computer
,
the
receiver
system
is
treated
as
a
single
instrument,
just
as
the
various
instruments
that
make
up
the
system
are
controlled
using
the
receiver
front
panel.
Syntax
Requirements
Mnemonics
may
be
written
using
all
uppercase
characters
(as
in
ST
AR;
which
is
preferred),
or
using
initial
uppercase
followed
by
lowercase
(as
in
Star;
which
is
allowed).
Either
uppercase
or
lowercase
characters
may
be
used.
The
receiver
generally
accepts
syntax
with
extraneous
blanks;
however
note
that
spaces
are
not
allowed
within
the
mnemonic
name:
F
or
example
,
entering
the
mnemonic
name
MARK
1
in
a
statement
would
cause
a
syntax
error
,
but
MARK1
would
not.
Use
the
semicolon
(;)
to
separate
instructions
.
Use
the
comma
(,)
to
separate
each
value
in
a
series
.
If
no
units
terminator
follows
the
value
for
frequency
and
time
units
,
the
system
defaults
to
receiver
Basic
Units
(Hz,
seconds).
Other
quantities
(power
,
length)
do
not
use
a
units
terminator
.
Mnemonics
The
program
code
for
each
function
is
a
four-to-eight
character
mnemonic
version
of
its
label.
Many
mnemonics
must
be
followed
by
a
numeric
value
in
the
basic
measurement
units
.
F
or
example
,
the
STIMULUS
4
ST
ART
5
key
is
programmed
using
STAR .
Programming
mnemonics
for
all
receiver
front
panel
controls
and
menu
softkeys
are
given
in
the
HP
8530A
K
eyword
Dictionary.
Strings
of
commands
are
written
in
logical
sequences
,
separated
by
the
semicolon,
such
as
OUTPUT
716;"FACTPRES;STAR
2E9;STOP
18E9;PARA1;LINP;MARK1
9E9;"
This
series
of
command
mnemonics
executes
a
F
actory
Preset,
selects
a
2
GHz
to
18
GHz
sweep
,
displays
P
arameter
1
using
the
polar
format,
and
then
positions
measurement
marker
#1
to
9
GHz.
The
semicolon
(;)
is
used
to
terminate
each
individual
command.
Notice
that
the
values
are
in
units
raised
to
a
power
of
10.
MARK1
9E9
means
to
place
marker
#1
(MARK1 )
to
9
GHz
(9
x
10
9
)
The
E
represents
\raised
to
the
power
of."
Numeric
entries
and
units
Numeric
entries
with
no
units
terminator
are
equivalent
to
pressing
the
4
x1
5
key
in
the
entry
area.
Instead
of
using
the
\E"
exponent
system
you
can
simply
enter
the
actual
units
for
frequency
,
time
,
or
voltage:
Example:
OUTPUT
716;"FACTPRES;
STAR
2
GHz;
STOP
18
GHz;
PARA1;
LINP;
MARK1
9
GHz;"
Frequency
Use
GHz,
MHz,
and
kHz.
No
terminator
is
required
for
Hz
units
.
Time
Use
fs
,
ps
,
ns
,
us
,
and
ms
.
No
terminator
is
required
for
seconds
.
Angle
Angles
should
be
entered
into
your
program
in
degrees
units
.
No
terminator
is
required.
18-2
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: ......