SECTION3
IEEE-488
Reference
3-32
+
Items
The
"items"
parameter selects which items to include
in
the
IEEE
output
string. The
items include the source value, the de
or
sweep delay time, the measurement,
and
the
time stamp. The parameter value
is
determined
by
adding
the decimal values of the
individual items
that
you
want
to include
in
the
data
string. Examples:
1.
To include only the source value
in
the string,
send
Gl,(format),(lines)X. (Enter
values for "format''
and
"lines".)
2.
To include
both
the source (Gl)
and
measure (G4) values,
send
GS,(format),
(lines)X.
3.
To include all the items
in
the string,
send
GlS,(format),(lines)X.
The source value
in
the string represents the programmed,
not
the actual source
value. The time stamp value is referenced from the time a sweep
is
triggered.
Format
The
"format''
parameter selects
how
the
data
is
sent.
A
parameter value of
0 pro-
grams the instrument to
send
ASCIT
data
that
contains
both
prefix
and
suffix. Pre-
fixes are
used
to define each
of
the item values. The suffix indicates the buffer loca-
tion
where
the
data
is
stored.
A
parameter value of 1 sends
ASCIT
data
with
prefix
and
without
suffix, while a parameter value of
2
sends
ASCIT
data
without prefix
or
suffix.
Parameter values of
3
and
4 choose binary
data
in
HP
and
ffiM
formats.
If
all lines of
sweep
data
are selected
with
the
"lines"
parameter, the items between the byte count
and
terminators are repeated for each sweep point.
Lines
The
"lines"
parameter selects the
number
of
data
lines sent
per
talk. This
data
can be
from the
de
buffer (one line
at
a time)
or
the sweep buffer (one
or
all lines
at
a time).
Each time
you
request all lines of sweep data, the entire buffer is
sent
from the
begin-
ning.
If
a sweep
is
in
progress
and
a measurement
or
time value
is
unavailable,
the
bus
is
held until
it
becomes available.
If
a sweep has aborted
or
is
not
in
progress, measure-
ment
and
time values are sent
if
available,
or
a value of zero
is
sent
if
not
available.
In
addition,
an
aborted sweep
is
indicated
in
the
ASCIT
measure prefix
and
binary
measure status.
Obtaining
Data
Generally,
data
is
placed into a string
or
numeric variable. For example, a typical
in-
put
sequence for
an
HP
controller
with
BASIC
4.0
is:
ENTER 716;Measure$
+