Chapter 2
2-23
HP ESA Status Registers
Using the Analyzer Status Registers
The Questionable Status Power Condition Register continuously
monitors output power status of the analyzer. Condition registers are
read-only. To query the condition register, send the command
:STATus:QUEStionable:POWer:CONDition?
The response will be the
decimal sum of the bits which are set to 1.
The transition filter specifies which types of bit state changes in the
condition register will set corresponding bits in the event register. The
changes may be positive (from 0 to 1) or negative (from 1 to 0). Send the
command
:STATus:QUEStionable:POWer:NTRansition <num>
(negative transition) or
:STATus:QUEStionable:POWer:PTRansition
<num>
(positive transition) where
<num>
is the sum of the decimal
values of the bits you want to enable.
The Questionable Status Power Event Register latches transition
events from the condition register as specified by the transition filters.
Event registers are destructive read-only. Reading data from an event
register will clear the content of that register. To query the event
register, send the command
:STATus:QUEStionable:POWer[:EVENt]?
Figure 2-10
The Questionable Status Power event enable Register lets you choose
which bits will set the summary bit (bit 3) of the Questionable Status
Condition Register to 1. Send the command
:STATus:QUEStionable:POWer:ENABle <num>
where
<num>
is the sum
of the decimal values of the bits you want to enable. For example, to
enable bit 9 and bit 3 so that whenever either of those bits is set to 1,
the Power Summary bit of the Questionable Status Register will be set
to 1, send the command
:STAT:QUES:POW:ENAB 520
(512 + 8). The
command
:STATus:QUEStionable:POWer:ENABle?
returns the
decimal value of the sum of the bits previously enabled with the
:STATus:QUEStionable:POWer:ENABle <num>
command.
Bit Number
7
8
9
10
11
12
13
14
15
6 5 4 3 2 1 0
2048
512
32 16
4
8
1
16384 8192 4096
1024
128
256
64
Decimal
Value
32768
2
ck771a
Questionable
Power Event Enable Register
Status
STATus:QUEStionable:POWer:ENABle <num>
STATus:QUEStionable:POWer:ENABle?
Summary of Contents for E4401B
Page 6: ...vi ...
Page 14: ...xiv Contents ...
Page 64: ...2 34 Chapter2 HP ESA Status Registers Using the Analyzer Status Registers ...
Page 65: ...3 1 3 Programming Examples ...
Page 151: ...4 1 4 Programming Command Cross References ...
Page 286: ...5 132 Chapter5 Language Reference UNIT Subsystem ...
Page 287: ...6 1 6 HP 8590 HP ESA Spectrum Analyzers Programming Conversion Guide ...
Page 292: ...1 HP 8590 HP ESA Spectrum Analyzers Conversion Guide ...
Page 368: ...7 1 7 Error Messages ...
Page 393: ...7 26 Chapter7 Error Messages 201 to 799 Device Specific Errors ...