S331E, S332E, S361E, S362E Site Master™MS2711E, MS2712E, MS2713E Spectrum Master™MT8212E, MT8213E Cell Master™ Programming Manual : Programming with SCPI : Introduction to SCPI Programming
 
Introduction to SCPI Programming
Anritsu instruments can be operated with the use of SCPI commands. SCPI is intended to give the user a consistent environment for program development. It does so by defining controller messages, instrument responses, and message formats for all SCPI compatible instruments. SCPI commands are messages to the instrument to perform specific tasks. The command set includes:
SCPI Common Commands
SCPI Required Commands
SCPI Optional Commands
 
SCPI Common Commands
Some common commands are defined in the IEEE-488.2 standard and must be implemented by all SCPI compatible instruments. These commands are identified by the asterisk (*) at the beginning of the command keyword. These commands are defined to control instrument status registers, status reporting, synchronization, and other common functions. The common commands supported by the instrument are shown below.
*IDN?
Title
Identification Query
Description
This command returns the following information in <string> format separated by commas: manufacturer name (“Anritsu”), model number/options, serial number, firmware package number. The model number and options are separated by a “/” and each option is separated by a “/”.
For example, the return string might look like: “Anritsu,MT8212E/3/2,62011032,1.23”
*RST
Title
Reset
Description
The unit will power cycle after this command is executed. It restores parameters in the current application as well as system settings to their factory default values.
System settings affected by this command are language, volume and brightness.
Note 
If the instrument does not operate correctly, this command can be used to restore the instrument to the original default settings and running condition.
Front Panel Access:
Shift‑8 (System), System Options, Reset, Factory Defaults
See Also:
:SYSTem:PRESet
SCPI Required Commands
The required SCPI commands supported by the instrument are listed in the Table: SCPI Required Commands. These command work in all measurement modes and are described in All Mode CommandsAll Mode Commands.
SCPI Required Commands
:STATus
:SYSTem
SCPI Optional Commands
Table: SCPI Optional Commands lists the optional SCPI commands that comprise the majority of the command set described in this document. These commands control most of the programmable functions of the instrument.
SCPI Optional Commands
:ABORt
:CALCulate
:CALibration
:CONFigure
:DISPlay
:FETCh
:FORMat
:INITiate
:INPut
:INSTrument
:MEASure
:MMEMory
:READ
:SENSe
:SOURce
:TRACe
:TRIGger
:UNIT
:[SENSe]
The SCPI optional commands are sorted by measurement modes and commands may be repeated in more than one mode.
All Mode Commands
Cable & Antenna Commands
Spectrum Analyzer Commands
GSM Commands
WCDMA Commands
TDSCDMA Commands
CDMA Commands
EVDO Commands
Fixed WiMAX Commands
Mobile WiMAX Commands
LTE Commands
P25 Commands
NXDN Commands
AM/FM/PM Commands
Tracking Generator Commands