Download Print this page

Setting And Querying The Status Register - Agilent Technologies EMC Series Programmer's Manual

Spectrum analyzers 9 khz-1.5/3.0/6.7/13.2/26.5 ghz
Hide thumbs Also See for EMC Series:

Advertisement

Status Registers
Use Status Registers to Determine the State of Analyzer Events and Conditions

Setting and Querying the Status Register

See
Figure
2-3. Each bit in a register is represented by a numerical value based on
its location. This number is sent with the command to enable a particular bit. To
enable more than one bit, send the sum of all of the bits involved.
For example, to enable bit 0 and bit 6 of the standard event status register, you
would send the command *ESE 65 (1 + 64).
The results of a query are evaluated in a similar way. If the *STB? command
returns a decimal value of 140, (140 = 128 + 8 + 4) then bit 7 is true, bit 3 is true,
and bit 2 is true.
Figure 2-3
Status Register Bit Values
15
14
13
12
11
10
9
8
6 5 4 3 2 1 0
7
Bit Number
ck730a
Details of Bits in All Registers
Refer to
Figure
2-2. The rest of this chapter lists the bits in each register shown in
the figure, along with descriptions of their purpose.
Chapter 2
65

Advertisement

loading

This manual is also suitable for:

E7404aE7402aE7405aE7401aE7403a