Remote Spectrum Monitor™ MS27201A Programming Manual : Programming with SCPI : SCPI Command Types
 
SCPI Command Types
The MS27201A command set includes the following command types:
SCPI “common” commands (IEE488.2 mandated commands)
SCPI required commands (per SCPI 1999.0)
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 an asterisk (*) at the beginning of the command. These commands are defined to control instrument status registers, status reporting, synchronization, and other common functions. Examples of common commands supported by the instrument are shown below.
*CLS
Title:
Clear Status Command
Description:
This command clears all status data structures in the device (registers and error queue) and forces the Operation Complete state to Idle.
*IDN?
Title:
Identify
Description:
This command returns the following information in <string> format separated by commas: manufacturer name ("Anritsu"), model number, serial number, and firmware package number.
*RST
Title:
Reset
Description:
This command sets the instrument into a known state that is ready for SCPI command processing. Setting the instrument into a known state includes the following steps:
1. All applications beside the default application of the particular model will be turned off.
2. Settings for all applications (regardless of an application being active) are preset to default values.
3. System settings excluding settings associated with client connections (like ethernet addresses or DNS) are preset to default values.
4. Pending operations are aborted and the pending operation flag will be reset. The instrument will be forced into the operation complete command idle state (OCIS) and the operation complete query idle state (OQIS) before the pending operation flag is reset.
SCPI Required Commands
The required SCPI commands supported by the instrument are listed below. These commands work in all measurement modes.
SCPI Required Commands
:STATus
:SYSTem
 
SCPI Optional Commands
Optional SCPI commands comprise the majority of the MS27201A command set. These commands control most of the programmable functions of the instrument. The top level command subsystems are listed in the table below.
SCPI Optional Commands
:ABORt
:CALCulate
:CONFigure
:CPRI
:DIAGnostic
:DISPlay
:FETCh
:FORMat
:INITiate
:INPut
:INSTrument
:MEASure
:MMEMory
:OUTPut
:READ
:ROUTE
:SENSe
:SWEep
:TEST
:TRACe
:TRIGger
:UNIT
The SCPI optional commands are sorted by measurement modes and the commands may be repeated in more than one mode.