SCPI Command Format
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 <
number
>
:LAYer2
:COUNt <
number
>
:SLOPe <
edge
>
:SOURce <
source
>
ARM
is the root keyword of the command,
:STARt|SEQuence1
is the
second level keyword,
:LAYer1
and
:LAYer2
are third level keywords, and
so on.
Command
Separator
A colon (:) always separates one command keyword from a lower level
command keyword as shown below:
ARM:LAY2:SOUR EXT
Abbreviated
Commands
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
COUNt
, then
COUN
and
COUNT
are acceptable forms. Other forms of
COUNt
such as
COU
will generate an error.
You can use upper or lower case letters. Therefore,
COUNT
,
coun
, or
Coun
are all acceptable.
133 HP E1340A Command Reference
Chapter 7
Summary of Contents for E1340A
Page 12: ...Notes 12 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 14: ...14 HP E1340A Arbitrary Function Generator Module User s Manual ...
Page 42: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 42 ...
Page 54: ...Chapter 2 Generating Standard Waveforms with the HP E1340A 54 ...
Page 58: ...Chapter 3 Generating Arbitrary Waveforms with the HP E1340A 58 ...
Page 84: ...Chapter 4 HP E1340A Sweeping and Frequency Shift Keying 84 ...
Page 130: ...Chapter 6 HP E1340A High Speed Operation 130 ...
Page 202: ...202 HP E1340A SCPI Conformance Information Chapter 7 ...
Page 218: ...218 HP E1340A Specifications Appendix A ...
Page 284: ...284 HP E1340A Register Based Programming Appendix C ...
Page 295: ...Index HP E1340A Arbitrary Function Generator User s Manual 295 ...