206
Chapter 4
Status Registers
Use Status Registers to Determine the State of Analyzer Events and Conditions
S
ta
tus
R
e
gi
s
ters
The status byte register contains the following bits:
To query the status byte register, send the
*STB
command. The response will be the decimal sum of the
bits that are set to 1. For example, if bit number 7 and bit number 3 are set to 1, the decimal sum of the 2
bits is 128 plus 8. So the decimal value 136 is returned.
Service Request Enable Register
In addition to the status byte register, the status byte group also contains the service request enable
register. The status byte service request enable register lets you choose which bits in the Status Byte
Register will trigger a service request.
Send the
*SRE <number>
command (where
<number>
is the sum of the decimal values of the bits you
want to enable plus the decimal value of bit 6). For example, assume that you want to enable bit 7 so that
whenever the operation status summary bit is set to 1, it will trigger a service request. Send the
*SRE
192
(128 + 64) command. The
*SRE?
command returns the decimal value of the sum of the bits enabled
previously with the
*SRE <number>
command.
Bit
Decimal
Value
Description
0
1
Unused
: This bit is always set to 0.
1
2
Unused
: This bit is always set to 0.
2
4
Error/Event Queue Summery Bit
: A 1 in this bit position
indicates that the SCPI error queue is not empty. The SCPI error
queue contains at least one error message.
3
8
Questionable Status Summary Bit
: A 1 in this bit
position indicates that the questionable status summary bit has
been set. The questionable status event register can then be read
to determine the specific condition that caused this bit to be set.
4
16
Message Available (MAV)
: A 1 in this bit position
indicates that the analyzer has data ready in the output queue.
There are no lower status groups that provide input to this bit.
5
32
Standard Event Status Summary Bit
: A 1 in this bit
position indicates that the standard event status summary bit has
been set. The standard event status register can then be read to
determine the specific event that caused this bit to be set.
6
64
Request Service (RQS) Summery Bit
: A 1 in this bit
position indicates that the analyzer has at least one reason to
report a status change. This bit is also called the master summary
status bit (MSS).
7
128
Operation Status Summary Bit
: A 1 in this bit position
indicates that the operation status summary bit has been set. The
operation status event register can then be read to determine the
specific event that caused this bit to be set.
Содержание ESA-E E4401B
Страница 4: ...4 ...
Страница 35: ...35 Using This Document 1 Using This Document ...
Страница 38: ...38 Chapter1 Using This Document What is in This Book Using This Document ...
Страница 196: ...196 Chapter3 Programming Fundamentals Overview of RS 232 Option 1AX Programming Fundamentals ...
Страница 393: ...Chapter 6 393 Menu Maps Alpha Editor Menu Menu Maps Alpha Editor Menu ...
Страница 394: ...394 Chapter6 Menu Maps AMPLITUDE Y Scale Menu Menu Maps AMPLITUDE Y Scale Menu ...
Страница 395: ...Chapter 6 395 Menu Maps Amplitude Y Scale Corrections Menu Menu Maps Amplitude Y Scale Corrections Menu ...
Страница 396: ...396 Chapter6 Menu Maps Auto Couple Menu Menu Maps Auto Couple Menu ...
Страница 397: ...Chapter 6 397 Menu Maps BW Avg Menu Menu Maps BW Avg Menu ...
Страница 398: ...398 Chapter6 Menu Maps Det Demod Menu Menu Maps Det Demod Menu ...
Страница 399: ...Chapter 6 399 Menu Maps Display Menu Menu Maps Display Menu ...
Страница 400: ...400 Chapter6 Menu Maps File Menus 1 of 3 Menu Maps File Menus 1 of 3 ...
Страница 401: ...Chapter 6 401 Menu Maps File Menus 2 of 3 Menu Maps File Menus 2 of 3 ...
Страница 402: ...402 Chapter6 Menu Maps File Menus 3 of 3 Menu Maps File Menus 3 of 3 ...
Страница 403: ...Chapter 6 403 Menu Maps Freq Count Marker Menu Menu Maps Freq Count Marker Menu ...
Страница 404: ...404 Chapter6 Menu Maps FREQUENCY Channel Menu Menu Maps FREQUENCY Channel Menu ...
Страница 405: ...Chapter 6 405 Menu Maps Input Output Menu Menu Maps Input Output Menu ...
Страница 406: ...406 Chapter6 Menu Maps Marker Menu Menu Maps Marker Menu ...
Страница 407: ...Chapter 6 407 Menu Maps Marker Menu Menu Maps Marker Menu ...
Страница 408: ...408 Chapter6 Menu Maps Peak Search Menu Menu Maps Peak Search Menu ...
Страница 409: ...Chapter 6 409 Menu Maps Preset Menu Menu Maps Preset Menu ...
Страница 410: ...410 Chapter6 Menu Maps Print Setup Menu Menu Maps Print Setup Menu ...
Страница 411: ...Chapter 6 411 Menu Maps Source Menu Menu Maps Source Menu ...
Страница 412: ...412 Chapter6 Menu Maps SPAN X Scale Menu Menu Maps SPAN X Scale Menu ...
Страница 413: ...Chapter 6 413 Menu Maps Sweep Menu Menu Maps Sweep Menu ...
Страница 414: ...414 Chapter6 Menu Maps System Menu Menu Maps System Menu ...
Страница 415: ...Chapter 6 415 Menu Maps Trace View Menu Menu Maps Trace View Menu ...
Страница 416: ...416 Chapter6 Menu Maps Trig Menu Menu Maps Trig Menu ...
Страница 426: ...426 Index Index Index ...