Scpi Command Format; Command Separator; Abbreviated Commands; Implied Commands - HP E1361A 4X4 User Manual

Relay matrix module
Table of Contents

Advertisement

SCPI Command Format

Command
Separator
Abbreviated
Commands

Implied Commands

38 HP E1361A Relay Matrix Command Reference
All manuals and user guides at all-guides.com
SCPI commands perform functions like closing switches, querying
instrument states, and retrieving data. A subsystem command structure is a
hierarchical structure that usually consists of a top level (or root) command,
one or more lower level commands, and their parameters. The following
example shows part of a typical subsystem:
[ROUTe:]
CLOSe <
channel_list
channel_list
SCAN <
:MODE?
is the root command,
ROUTe:
commands, and
:MODE?
A colon (:) always separates one command from the next lower level
command as shown below:
ROUTe:SCAN:MODE?
Colons separate the root command from the second level command
(
) and the second level from the third level (
ROUTe:SCAN
The command syntax shows most commands as a mixture of upper and
lower case letters. The upper case letters indicate the abbreviated spelling
for the command. For shorter program lines, send the abbreviated form.
For better program readability, you may send the entire command. The
instrument will accept either the abbreviated form or the entire command.
For example, if the command syntax shows
are acceptable forms. Other forms of
MEASURE
MEASU
or
MEASUR
will generate an error. Use upper or lower case
letters. Therefore,
MEASURE
Implied commands are those which appear in square brackets (
command syntax. (Note that the brackets are not part of the command and
are not sent to the instrument.) Suppose you send a second level command
but do not send the preceding implied command. In this case, the instrument
assumes you intend to use the implied command and it responds as if you
had sent it. Examine the
[SOURce:]
PULSe
:COUNt <
count
:COUNt? [<MIN | MAX>]
:PERiod <
period
:PERiod? [<MIN | MAX>]
>
>
and
are second level
CLOSe
SCAN
is a third level command.
MEASure
MEASure
,
, and
measure
MeAsUrE
subsystem shown below:
SOURce
>
>
).
SCAN:MODE?
, then both
and
MEAS
, such as
are acceptable.
) in the
[ ]
Chapter 5

Advertisement

Table of Contents
loading

Table of Contents