Technical data
50 Programmer’s Guide
5 Command Reference
IEEE Common Commands
The first few pages of this chapter contain common commands specified
in IEEE Standard 488.2-1992, IEEE Standard Codes, Formats,
Protocols and Common Commands for Use with ANSI/IEEE Std.
488.1-1987. New York, NY, 1992.
Following these commands, the Agilent N9342C/43C/44C handheld
spectrum analyzers SCPI commands are listed.
Clear Status
*CLS
Clears the status byte register. It does this by emptying the error queue
and clearing all bits in all of the event registers. The status byte register
summarizes the states of the other registers.
It is also responsible for
generating service requests.
Remark: See *STB?
Standard Event Status Enable
*ESE <number>
*ESE?
Sets the bits in the standard event status enable register. This register
monitors I/O errors and synchronization conditions such as operation
complete, request control, query error, device dependent error,
execution error, command error and power on. A summary bit is
generated on execution of the command.
The query returns the state of the standard event status enable register.
Range: Integer, 0 to 255
Example: *ESE 36 Enables the Standard Event Status Register to monitor query
and command errors (bits 2 and 5).
*ESE? Returns a 36 indicating that the query and command status bits
are enabled.