Scpi Command Format; Command Separator; Abbreviated Commands - HP E1340A User Manual

Arbitrary function generator
Hide thumbs Also See for E1340A:
Table of Contents

Advertisement

SCPI Command Format

Command
Separator
Abbreviated
Commands
133 HP E1340A Command Reference
The functions of the AFG are programmed using SCPI commands. SCPI
commands are based on a hierarchical structure, also known as a tree
system. In this system, associated commands are grouped together under a
common node or root, thus, forming subtrees or subsystems. An example is
the AFG's '
ARM
' subsystem shown below.
ARM
[:STARt|SEQuence[1]]
[:LAYer[1]]
:COUNt <
:LAYer2
:COUNt <
:SLOPe <
:SOURce <
is the root keyword of the command,
ARM
second level keyword,
:LAYer1
so on.
A colon (:) always separates one command keyword from a lower level
command keyword as shown below:
ARM:LAY2:SOUR EXT
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 AFG
will accept either the abbreviated form or the entire command.
For example, if a command's syntax contains the keyword
and
are acceptable forms. Other forms of
COUN
COUNT
COU
will generate an error.
You can use upper or lower case letters. Therefore,
are all acceptable.
number
>
number
>
edge
>
source
>
:STARt|SEQuence1
and
are third level keywords, and
:LAYer2
is the
, then
COUNt
such as
COUNt
COUNT
,
coun
, or
Coun
Chapter 7

Advertisement

Table of Contents
loading

Table of Contents