'
OPERATION
(3)
if
a
syntax
error
is
detected, then
that command
and
all
subsequent commands
up to
the
next
command
separator are
aborted
and
an error is
raised.
(4)
When
Device
Clear is
used, it
is recommended
that a
0.5
s
wait
period
follows
while re-
initialization
of
the instrument
occurs.
This avoids
corruption or
lossof
GPIB
commands.
Data
output
format
Every
request tor
data
will
cause
a
respon.se from the instrument.
The form
of
the response
will
be
that
outlined below.
Note that
if no data is
available
the
default
response is NULL. Each
reading
will
have
its
own
terminator
sequence
but
the
<EOI>
terminator
is
only sent once the output buffer
is empty.
The format takes
the
form of
<HEADER>
<DATA
FIELD>
<TYPE
prELD>
<TERMINATOR>
<HEADER>
<DATA
FTELD>
Data is onlv sent in this field if
a
descriptiqn is
necessary, e.g.
WHOLE
P.AGE.
<TYPE
FIELD>
-
This field contains the reading, it may
be a
numerical or
alpha string.
There
is no
fixed
format except
that
numerical data
will
conform to
NRl or
NR2
data types (j.e.
non-integer).
Data
is only sent in this field
if
the
data
in the data
field
requires
qualifying
e.g. MHz. dBm. etc.
<TERMINAT0R>
-
Ail
readings are terminated
with <CR>
<LF>.
This
enables
minimum
interaction between a
controller
and
a
printer.
Note
that
<ETX>
<E0I> is sent when
the
output
buffer is
empty
and
ETX
is
selected.
Keyboard-equivalent
commands
Below
are
listed
the
GPIB
commands
that
perform the
functions of the
keys named
alongside.
Note
however,
that
for the
numeric,
minus
sign and decimal point keys,
the normal
ASCII
equivalents
are used. The
commandsare
summarized
in Fig.
3-14.
Command
Key
Function
TX
TX
Transmitter mode
RX
RX
Receiver mode
DX
DX
Dupie.x mode
TN
TONES
Tonc.smode
BC
BARCHART
Barchart
SC
SCOPE
Oscilloscope
(if
requested in duplex then
the
lower
half
of
the
scrcen-is
cleared and the barcharts
are
disabled)
HDn
HOLDDlSPL.-\V
Hold display [off.on
:
n-n.
1
j
HP
HELP
Kelp
AG
AFGEN
.A F
generator
RT
RX=TXFREO
Set RX
to
TX
frequency
RG
RFGEN
RF
generator
SM
SET.MOD
Set modulation
.VI
Dn
MOD
ON-OFF
-Modulation
sv.
itch
joff.
on
;
n
==<).!
|
SNn
SINADS
N
DISTN
(3ff.
default
(
SIN
AD
or
S.N
).
non-default
(
SIN AD
or
S
N
).
Utstortton
|n=o,
!
.2,3|
AC
AC/DC
AC
coupling
DC
ACDC
Decoupling
46881
-622N
Apr.
88
3-45