Hierarchical Command Structure - Anritsu LMR Master S412E Programming Manual

An integrated, handheld multi-function land mobile radio test tool
Hide thumbs Also See for LMR Master S412E:
Table of Contents

Advertisement

Programming with SCPI
Long Format versus Short Format
Each keyword has a long format and a short format. The start frequency can be specified by
:SENSe:FREQuency:STARt or :SENS:FREQ:STAR. The capital letters in the command
specification indicate the short form of the command. A mixture of the entire short form
elements with entire long form elements of each command is acceptable. For example,
:SENS:FREQuency:STAR is an acceptable form of the command. However,
:SENS:FREQuen:STAR is not an acceptable form of the command because :FREQuen is
neither the short form nor the entire long form of the command element.

Hierarchical Command Structure

All SCPI commands, except the common commands, are organized in a hierarchical structure
similar to the inverted tree file structure that is used in most computers. The SCPI standard
refers to this structure as "the Command Tree." The command keywords that correspond to
the major instrument control functions are located at the top of the command tree. The root
command keywords for the S412E SCPI command set are shown in
:ABORt
:CALCulate
:CONFigure
:DISPlay
:FETCh
Figure 2-1.
SCPI Command Tree Example
S412E PM
root
:FORMat
:MMEMory
:INITiate
:READ
:INPut
:SENSe
:INSTrument
:SOURce
:MEASure
:TRACe
PN: 10580-00319 Rev. N
2-6 Subsystem Commands
Figure
2-1.
:TRIGger
:UNIT
:[SENSe]
2-5

Advertisement

Table of Contents
loading

Table of Contents