4338B
Program
Message
Syntax
Program
Message
Syntax
This
section
provides
an
example
of
constructing
a
SCPI
program
message
.
A
program
message
is
the
message
sent
from
a
computer
to
an
instrument.
Program
messages
consist
of
commands
combined
with
appropriate
punctuation
and
program
message
terminators
.
Case
Letter
case
(upper
and
lower)
is
ignored.
Program
Message
T
erminator
A
program
message
must
end
with
one
of
the
three
program
message
terminators,
<new
line> ,
<^END> ,
or
<new
line><^END>.
<^END>
means
that
EOI
is
asserted
on
the
GPIB
interface
at
the
same
time
the
preceding
data
byte
is
sent.
F
or
example
,
HP
B
ASIC
OUTPUT
statement
automatically
sends
a
message
terminator
after
the
last
data
byte
is
sent.
If
you
are
using
a
PC,
you
can
usually
congure
your
system
to
send
whatever
terminator
you
specify
.
Subsystem
Command
Syntax
Subsystem
command
consists
of
the
level
mnemonics
which
are
separated
with
colons
.
F
or
example
,
command
form
of
APERture
under
[SENSe ]:FIMPedance
subsystem
becomes
as
follows:
:FIMPedance:APERture
Abbreviated
mnemonics
are
also
available
for
command
headers
.
In
the
above
example
,
:FIMP:APER
is
available
.
Common
Command
Syntax
Common
commands
do
not
have
a
hierarchical
structure
.
They
are
just
sent
as
follows:
*CLS
P
arameters
There
must
be
a
<space>
between
the
last
command
mnemonic
and
the
rst
parameter
in
a
subsystem
command.
:FIMP:APER t parameter
t
means
a
space
(ASCII
character
(decimal
32))
is
inserted
here
.
If
you
send
more
than
one
parameter
with
a
single
command,
each
parameter
must
be
separated
by
a
comma.
F
or
example
,
:POINts
command
of
DATA
subsystem
is
followed
by
two
parameters
as
follows:
:DATA:POIN t parameter, parameter
P
arameter
Types
SCPI
denes
dierent
data
formats
for
use
in
program
messages
and
query
responses
.
The
4338B
accepts
commands
and
parameters
in
various
formats
and
responses
a
particular
query
in
a
predened
and
rigid
format.
Each
command
reference
contains
information
about
available
parameter
types
for
the
individual
commands
.
<numeric
value>
is
used
in
both
common
commands
and
subsystem
commands
.
<numeric
value>
represents
numeric
parameter
as
follows:
GPIB
Reference
5-5
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
Содержание 4338B
Страница 6: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 7: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 8: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 10: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 11: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 12: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 14: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 34: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 58: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 120: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 170: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 174: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 202: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 212: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...
Страница 216: ...Artisan Technology Group Quality Instrumentation Guaranteed 888 88 SOURCE www artisantg com ...