
HP-IB
Programming
Basics
Trace
Memories
First,
use
one
the
following
commands
to
select
the
trace
memory
to
be
loaded:
DEFM1;
select
Memory
1,
DEFM2;
select
Memory
2,
DEFM3;
select
Memory
3,
DEFM4;
select
Memory
4,
DEFM5;
select
Memory
5,
DEFM6;
select
Memory
6,
DEFM7;
select
Memory
7,
or
DEFM8;
select
Memory
8,
Next,
load
data
into
the
Corrected
data
array
,
using:
"INPUDATA;"
Finally
,
store
the
data
into
the
selected
memory
,
using:
"DATI;"
The
data
format
for
these
transfers
is
selected
by
the
FORM1 ,
FORM2 ,
FORM3 ,
FORM4
and
FORM5
mnemonics
as
for
the
OUTP
instructions
.
One
of
the
FORM n
instructions
should
precede
each
transfer
.
This
example
shows
the
data
transfer
from
the
computer
to
receiver
Corrected
Data
array
for
the
currently
selected
channel
using
FORM3 .
OUTPUT
Rec;
"HOLD;
FORM3;
INPUDATA;"
OUTPUT
Rec;
Preamble,
Size,
Data(*)
HOLD
prevents
overwriting
the
data
just
input
with
data
from
the
next
group
of
sweeps
.
The
variable
Preamble
holds
the
#A
block
header
,
the
V
ariable
Size
holds
the
value
representing
the
total
number
of
data
bytes
in
the
block,
and
Data(*)
holds
the
real/imaginary
data
pairs
.
the
receiver
accepts
data
until
the
specied
number
of
bytes
is
received,
or
EOI
is
detected,
then
terminates
the
listen
mode
.
If
the
number
of
data
bytes
is
not
equal
to
the
value
of
the
V
ariable
Size
,
the
message
BLOCK
INPUT
ERROR
is
displayed.
If
the
value
of
the
V
ariable
Size
does
not
correspond
to
the
current
number
of
points
selected,
then
the
message
BLOCK
INPUT
LENGTH
ERROR
is
displayed.
If
more
than
the
internally
allocated
number
of
bytes
are
input,
these
bytes
are
treated
like
regular
commands
,
which
cause
a
syntax
error
.
If
less
than
the
specied
number
of
bytes
are
input
without
an
EOI,
you
may
continue
with
another
OUTPUT
statement.
F
orm
4
Input
When
using
FORM4 ,
always
suppress
the
CR/LF
which
would
normally
terminate
the
OUTPUT
statement
that
sends
the
INPU
instruction
as
follows
.
OUTPUT
Rec;
"HOLD;
FORM4;
INPUDATA;";
OUTPUT
Rec;
Data(*)''
The
semicolon
following
the
last
quote
mark
is
used
in
B
ASIC
to
suppress
the
normal
CR/LF
sent
at
the
end
of
the
statement.
F
ailure
to
suppress
this
character
results
in
the
receiver
accepting
the
CR/LF
as
the
rst
data
byte
.
18-14
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: ......