The set of system common commands are primarily used to control the state of the instrument for system diagnostics, hardware calibration, and troubleshooting.
*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 <NR1>
*ESE?
Title
Standard Event Status Enable
Description
This command provides access the Standard Event Status Enable Register. Refer to IEEE 488.2 for more information on the contents of this register.
Parameters
<NR1>
Query Output
<NR1>
Range
0 to 255
*ESR?
Title
Standard Event Status
Description
This command queries the Standard Event Status Register. Refer to IEEE 488.2 for more information on the contents of this register.
*IDN?
Title
Identification Query
Description
This command returns the following information in <string> format separated by commas: manufacturer name (“Anritsu”), model number, serial number, firmware package number. The model number and options are separated by a “/” and each option is separated by a “/”.
*OPC <NR1>
*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.
Parameters
N/A
Query Output
<NR1>
*RST
Title
Reset
Description
This command restores most application and system settings to their factory default value. System settings affected by this command are Ethernet configuration. Note that the unit will power-cycle after this command is executed. After executing this command communication will be lost. Wait a minimum of 30 seconds before re-establishing communication.
*SRE <NR1>
*SRE?
Title
Service Request Enable
Description
Service Request Enable. The command sets the Service Request Enable Register bits. A zero value in the command resets the register. The query returns the value of the Service Request Enable Register in <NR1> format. Bit 6 is always zero.
Parameters
<integer>
Query Output
<NR1> Returns the value of the Service Request Enable Register
Range
0 to 255
*STB?
Title
Status Byte Query
Description
This command queries the Status Byte Register. Refer to IEEE 488.2 for more information on the contents of this register.
Query Output
<NR1>
*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.