![HP E4401B Programmer'S Manual Download Page 50](http://html.mh-extra.com/html/hp/e4401b/e4401b_programmers-manual_161548050.webp)
2-20
Chapter 2
HP ESA Status Registers
Using the Analyzer Status Registers
The Questionable Status condition register continuously monitors the
hardware and firmware status of the analyzer. Condition registers are
read-only. To query the condition register, send the command
:STATus:QUEStionable:CONDition?
The response will be the decimal
sum of the bits which are set to 1. For example, if bit number 9 and bit
number 3 are set to 1, the decimal sum of the 2 bits is 512 plus 8. So the
decimal value 520 is returned.
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:NTRansition <num>
(negative
transition) or
:STATus:QUEStionable:PTRansition <num>
(positive
transition) where
<num>
is the sum of the decimal values of the bits you
want to enable.
The Questionable Status 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[:EVENt]?
Figure 2-7.
The Questionable Status event enable register lets you choose which
bits in the Questionable Status Event Register will set the summary bit
(bit 3 of the Status Byte Register) to 1. Send the command
:STATus:QUEStionable: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
Questionable Status Summary bit of the Status Byte Register will be
15
Always Zero (0).
Bit
Description
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
ck768a
Questionable
Event Enable Register
Status
STATus:QUEStionable:ENABle <num>
STATus:QUEStionable: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 ...