Agilent Technologies Signal Analyzer N9030a User Manual

Page 139

Advertising
background image

3  Programming the Analyzer

STATus Subsystem

number 7 and bit number 3 are enabled, the decimal sum of the 2 bits is 128 plus 8. So the
decimal value 136 is returned.

In addition to the standard event status register, the standard event status group also contains a
standard event status enable register. This register lets you choose which bits in the standard
event status register will set the summary bit (bit 5 of the status byte register) to 1. Send the *ESE
<integer> command where <integer> is the sum of the decimal values of the bits you want to
enable. For example, to enable bit 7 and bit 6 so that whenever either of those bits is set to 1, the
standard event status summary bit of the status byte register will be set to 1, send the command
*ESE 192 (128 + 64). The command *ESE? returns the decimal value of the sum of the bits
previously enabled with the *ESE <integer> command.

The standard event status enable register presets to zeros (0).

Operation and Questionable Status Registers

The operation and questionable status registers are registers that monitor the overall instrument
condition. They are accessed with the STATus:OPERation and STATus:QUEStionable commands
in the STATus command subsystem. See the figure at the beginning of this chapter.

Operation Status Register

The operation status register monitors the current instrument measurement state. It checks to see
if the instrument is calibrating, sweeping, or waiting for a trigger. For more information see the
*OPC? command located in the IEEE Common Commands section.

Bit

Condition

Operation

0

Calibrating

The instrument is busy executing its Align Now process

3

Sweeping

The instrument is busy taking a sweep.

4

Measuring

The instrument is busy making a measurement. Measurements
often require multiple sweeps. They are initiated by keys under
the MEASURE key or with the MEASure group of commands.

Remote Language Compatibility Measurement Application Reference

139

Advertising