![HP E4401B Скачать руководство пользователя страница 43](http://html.mh-extra.com/html/hp/e4401b/e4401b_programmers-manual_161548043.webp)
Chapter 2
2-13
HP ESA Status Registers
Using the Analyzer Status Registers
To query the Standard Event Status Register, send the command
*ESR?.
The response will be the decimal sum of the bits which 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
Bit
Description
0
A 1 in this bit position indicates that all pending operations were completed following
execution of the
*OPC
command.
1
This bit is always set to 0. (The
analyzer
does not request control.)
2
A 1 in this bit position indicates that a query error has occurred. Query errors have SCPI
error numbers from
−4
99 to –400.
3
A 1 in this bit position indicates that a device dependent error has occurred. Device
dependent errors have SCPI error numbers from –399 to –300 and 1 to 32767.
4
A 1 in this bit position indicates that an execution error has occurred. Execution errors
have SCPI error numbers from –299 to –200.
5
A 1 in this bit position indicates that a command error has occurred. Command errors
have SCPI error numbers from –199 to –100.
6
A 1 in this bit position indicates that the
LOCAL
key has been pressed. This is true even if
the
analyzer
is in local lockout mode.
7
A 1 in this bit position indicates that the
analyzer
has been turned off and then on.
Bit Number
7
6
5
4
3
2
1
0
Command
Error
Execution
Error
Device
Dependent
Error
Query
Error
Request
Bus
Control
User
Request
Ke
y
(Local)
Description
Power
On
Operation
Complete
ck765a
Standard Event Status Register
*ESR?
Содержание E4401B
Страница 6: ...vi ...
Страница 14: ...xiv Contents ...
Страница 64: ...2 34 Chapter2 HP ESA Status Registers Using the Analyzer Status Registers ...
Страница 65: ...3 1 3 Programming Examples ...
Страница 118: ...3 54 Chapter3 Programming Examples Entering Amplitude Correction Data Close the session viClose viESA viClose defaultRM ...
Страница 151: ...4 1 4 Programming Command Cross References ...
Страница 286: ...5 132 Chapter5 Language Reference UNIT Subsystem ...
Страница 287: ...6 1 6 HP 8590 HP ESA Spectrum Analyzers Programming Conversion Guide ...
Страница 292: ...1 HP 8590 HP ESA Spectrum Analyzers Conversion Guide ...
Страница 368: ...7 1 7 Error Messages ...
Страница 393: ...7 26 Chapter7 Error Messages 201 to 799 Device Specific Errors ...