![HP E4401B Programmer'S Manual Download Page 47](http://html.mh-extra.com/html/hp/e4401b/e4401b_programmers-manual_161548047.webp)
Chapter 2
2-17
HP ESA Status Registers
Using the Analyzer Status Registers
command
:STATus:OPERation:NTRansition <num>
(negative
transition) or
:STATus:OPERation:PTRansition <num>
(positive
transition) where
<num>
is the sum of the decimal values of the bits you
want to enable.
The Operation 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:OPERation[:EVENt]?
Figure 2-4.
The Operation Status event enable register lets you choose which bits
will set the Operation Status Summary bit (bit 7) of the Status Byte
Register to 1. Send the command
:STATus:OPERation: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 operation status summary bit of the Status
Byte Register will be set to 1, send the command
:STATus:OPERation:ENABle 520
(512 + 8). The command
:STATus:OPERation:ENABle?
returns the decimal value of the sum of
the bits previously enabled with the
:STATus:OPERation: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
ck767a
Operation
Event Enable Register
Status
STATus:OPERation:ENABle <num>
STATus:OPERation: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 ...