Separator; Command Syntax - HP 54501A Programming Reference Manual

Digitizing oscilloscope
Hide thumbs Also See for 54501A:
Table of Contents

Advertisement

Separator
The
<
separator
>
shown
in the program
message refers
to
a
blank
space
which
is
required to
separate the
program
mnemonic from the program
data.
Command
Syntax
A
command
is
composed
of
a
header, any associated data, and
a
terminator. The header
is
the mnemonic or mnemonics that represent the
operation to be performed
by
the instrument.
The
different types
of
headers are
discussed
in the
following
paragraphs.
Simple Command Header. Simple command headers
contain
a
single
mnemonic.
AUTOSCALE
and
DIGITIZE
are examples
of simple
command headers typically
used in this instrument.
The
syntax
is:
<
program mnemonic
>
<
terminator
>
When
program data must be included with the simple command header
(for
example,
:DIGITIZE CHAN1),
a
separator
is
added.
The
syntax
is:
<
program mnemonic
>
<
separator
>
<
program data
>
<
terminator
>
Compound Command Header. Compound command headers are
a
combination
of
two or more program mnemonics.
The
first
mnemonic
selects
the subsystem,
and the
last
mnemonic
selects
the function within
that
subsystem.
Additional mnemonics appear between the
subsystem
mnemonic and the function mnemonic when there are additional levels
within
the subsystem
that must be transversed.
The
mnemonics within the
compound
message are
separated by
colons.
For example:
To
execute
a
single function within
a
subsystem, use the
following:
:
<
subsystem
>:
<
function
>
<
separator
>
<
program data
>
<
terminator
>
(For
example
:SYSTEM:LONGFORM ON)
To
transverse down
a
level
of
a
subsystem to execute
a
subsystem within
that
subsystem:
:
<
subsystem
>:
<
subsystem
>:
<
function
>
<
separator
>
<
program
data>
<
terminator
>
(For
example
:TRIGGER:DELAY:SOURCE CHAN1)
HP 54501A
Programming
Introduction to Programming an Oscilloscope
1-5

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents