Remote Spectrum Monitorâ„¢ MS27201A Programming Manual : MS27201A Commands : Common Commands
 
Common Commands
*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.
*ESE <numeric_value>
*ESE?
Title:
Standard Event Status Enable
Description:
This command provides access the Standard Event Status Enable Register.
Refer to Chapter 1, section 'Status System Reporting' within this manual or IEEE 488.2, section 11.5.1 for more information about each supported bit.
Value ranges from 0 to 255.
Query returns a NR1 Numeric response.
Refer to *ESR? for the list of supported bit values.
Parameter(s):
<numeric_value>
*ESR?
Title:
Standard Event Status
Description:
This command queries the Standard Event Status Register.
Refer to Chapter 1, section 'Status System Reporting' within this manual or IEEE 488.2, section 11.5.1 for more information about each supported bit.
Query returns a NR1 Numeric response.
Supported bits:
bit 0: Operation Complete (OP)
bit 1: Not Used
bit 2: Query Error
bit 3: Device Dependent Error
bit 4: Execution Error
bit 5: Command Error
bit 6: Not Used
bit 7: Power On
*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.
*OPC
*OPC?
Title:
Operation Complete
Description:
The *OPC command causes the device to set the OPC bit of the Standard Event Status Register on the next transition of the No Operation Pending flag from false to true.
The *OPC? command returns 1 in the response whenever the No Operation Pending Flag is true, blocking untill the operation is complete.
Note that for IQ streaming, *OPC? will return 1 immediately so that ABORt is not blocked.
*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.
*SRE <numeric_value>
*SRE?
Title:
Service Request Enable
Description:
This command provides access to the Service Request Enable Register.
Refer to Chapter 1, section 'Status System Reporting' within this manual or IEEE 488.2, section 11.5.1 for more information about each supported bit.
Refer to *STB? for the list of supported mask bit values.
Bit 6 (MSS) cannot be set as per IEEE 488.2 standard.
Query returns a NR1 Numeric response.
Parameter(s):
<numeric_value>
*STB?
Title:
Status Byte Query
Description:
This command queries the Status Byte Register.
Refer to Chapter 1, section 'Status System Reporting' within this manual or IEEE 488.2, section 11.5.1 for more information about each supported bit.
Query returns a NR1 Numeric response.
Supported bits:
bit 0: Not Used
bit 1: Not Used
bit 2: Not Used
bit 3: Not Used
bit 4: Message Available (MAV)
bit 5: Standard Event Status (ESB)
bit 6: Master Summary Status (MSS)
bit 7: Not Used
*WAI
Title:
Wait-to-Continue Command
Description:
This command causes the device to execute no further commands or queries until the No Operation Pending flag is TRUE.