
Programming
Examples
Example
22:
Frequency
List
This
example
shows
how
to
dene
,
manipulate
,
and
read
frequency
list
data.
First,
a
three-segment
frequency
list
is
dened
and
activated.
Next,
the
list
and
the
trace
data
for
P
arameter
1
is
output
to
the
computer
.
Then,
single
segments
(selected
by
the
user)
are
swept,
the
receiver
leaves
,
then
re-enters
,
the
Frequency
List
mode
.
Example
23:
Using
the
Receiver's
Learn
String
This
example
program
performs
a
User
Preset,
then
prompts
the
user
to
change
the
current
instrument
state
as
desired.
The
learn
string
is
then
read
out
which
includes
the
changes
made
by
the
user
.
Another
User
Preset
is
done
and
then
the
Learn
String
is
loaded
into
the
receiver
.
The
receiver
restores
the
modied
instrument
state
.
The
receiver
Learn
String
is
a
binary
coded
string
which
describes
the
current
instrument
state
.
This
string
may
be
read
from
the
receiver
to
computer
memory
via
the
HP-IB
,
then
it
may
be
loaded
back
into
receiver
memory
in
order
to
reset
the
system
to
the
state
represented
by
the
string.
This
learn
string
is
transferred
using
internal
receiver
binary
format
(FORM
1),
and
it
is
not
intended
that
the
user
attempt
to
decode
or
modify
the
string.
Please
note
that
each
rmware
revision
may
create
learn
strings
of
greater
or
smaller
size
(compared
to
learn
strings
created
by
other
rmware
revisions).
Thus
,
learn
strings
created
by
one
rmware
version
may
not
be
compatible
with
earlier
or
later
rmware
revisions
.
The
following
commands
control
transfer
of
the
string.
OUTPLEAS;
Output
Learn
String
to
HP-IB
.
INPULEAS;
Input
Learn
String
from
HP-IB;
Set
the
receiver
controls
to
that
state
.
The
contents
of
the
learn
string
is
identical
to
the
information
processed
by
the
SA
VE
and
RECALL
features
for
receiver
internal
storage
,
and
the
DISC
Store
and
Load
Instrument
State
functions
for
the
receiver
disc
drive
.
The
following
example
shows
a
sequence
to
transfer
the
learn
string.
The
learn
string
is
4390
bytes
in
length
and
can
be
read
into
an
integer
type
array
of
length
2195.
DIM
Integer
Learn_string
(4000)
OUTPUT
Rec;"OUTPLEAS;"
ENTER
Rec_data;Preamble,
Size
REDIM
Learn_string
(1:Size/2)
ENTER
Rec;Learn_string
(*)
.
.
OUTPUT
Rec;"INPULEAS;"
OUTPUT
Rec;Preamble,
Size,
Learn_string
(*)
OUTPLEAS;
and
INPULEAS;
select
FORM1
data
format
transfers
.
The
data
is
transferred
in
a
sequence
beginning
with
the
Preamble
,
#A;
an
integer
size
,
that
tells
the
number
of
bytes
to
follow
,
followed
by
the
receiver
internal
binary
format
data
which
represents
the
control
state
of
the
receiver
,
with
EOI
asserted
on
the
last
byte
.
HP-IB
Programming
18-31
Содержание 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: ......