Model
8642A/B
Operation
Overview
Program
Codes
Input
Syntax
..
DATA~NPUT
Data
can
be
input
to
the
Signal
Gellerator
using
either
front-panel
keystrokes
or
VIa
HP-IB.
To
address
the
Signal
Generator
via
HP-
IB,
the
input
data
inforrna
tion
usually
contains
the
universal
ulllisten
command,
the
Signal
Generator's
listen address,
the
controller's
talk
address,
and
a
string
of
HP-IB
program
codes.
The
following
Table
3-2,
shows some possible Signal
Generator
settings
and
corresponding
HP
llASIC commands.
Table
3-2.
Data
Inp~lt
Example
Input
Data
HP
BASIC
Set frequency to 123.4 MHz
OUTPUT 719:
"FR
123.4 MZ"
Set amplitude to
-10
dBm
OUTPUT 719; "AP
-10
DM"
Set amplitude increment to 1 0 dB,
OUTPUT 719; "APIS 10
DB
APDN APDN"
decrement amplitude 20 dB
Examples assume:
Signal Generator's address
=
19
Refer
to
your
controller
manual
for
command
syntax
and
the
controller's
address.
The
Signal
Generator's
functions
can
be
accessed
with
specific
program
codes. These
pl"Ograrn codes
are
summarized
in
HP-IB
Codes
Summary
in
Table
3-8,
Signal
Generator
Function
to
HP-IB
Code (page
3-
32),
and
Table
3-9,
Signal
Generator
HP-IB
Code to
Function
(page
3-33),
In
addition,
most
HP-IB
codes
are
printed
on
the
instrument's
front
panel,
in
light
gray
print,
near
the
code's associated key,
Input
data
information
consists of one
or
more
bytes sent
over
the
bus'
eight
data
lines
when
the
bus'
attention
control
line
[ATN]
is
false,
and
when
the
Signal
Generator
is
remote
and
addressed to
listen
with
the
REN
line
true
(low)
The
Signal
Generator
processes ASCII
characters
individually
as
(hey
are
received
and
performs
the
function
specified as soon as a recogniza ble seq uence
of
characters
has
been received.
Accessing
the
Signal
Generator's
front-panel
key
functions
via
HP-IB
is
equivalent
to
accessing
them
from
the
front-panel.
Table
3-3,
on
the
following page,
compares
some
local
keystroke
sequences
and
their
corresponding
HP-
IE
code sequences. (Direct access to
the
shift
functions
is
possible
from
HP-IB
so
the
::ihift key is
not
used
in
HP-IB
coding.)
3-11