Chapter 4 Command Reference
Common Commands
Programming Guide
4-49
4
*ESR?
(Event Status Register Query)
COMMAND
*ESR?
Queries the Standard Event Status Register, shown in Figure 4-4.
This event register captures changes in conditions, by having each event
bit correspond to a specific condition in the instrument. An event becomes
TRUE when the associated condition makes the defined transition. The
event bits, once set, are “sticky”—i.e., they cannot be cleared until they are
read, even if they do not reflect the current status of a related condition.
This register is cleared by *CLS, by *ESR?, and at power-on. Note that the
instrument's power-on sequence initially clears the register, but then
records any subsequent events during the power-on sequence including
setting the PON (power on) bit.
Figure 4-4. Standard Event Status Register
See the section titled “Standard Event Status Register” on page 3-30 of
this guide for a detailed description of the Standard Event Status
Register.
QUERY RESPONSE
•
Numeric data transferred as ASCII bytes in <NR1> format.
•
Range is 0 to 255.
•
The query response is an integer formed by the binary-weighting of
the bits. The value of any unused bit is zero.
(1)
Operation Complete
Not Used
(4)
Query Error
2
(8)
Device Dependent Error
3
(16)
Execution Error
4
(32)
Command Error
5
Not Used
6
(128)
Power On
7
Bits
0
1
Содержание 53150A Series
Страница 1: ... Programming Guide HP 53150A 151A 152A Microwave Frequency Counter ...
Страница 2: ......
Страница 10: ...Contents x Programming Guide ...
Страница 11: ...1 Before You Start ...
Страница 20: ...Chapter 1 Before You Start Related Documentation 1 10 Programming Guide 1 ...
Страница 21: ...2 Command Summary A Quick Reference ...
Страница 41: ...3 Programming Your Counter for Remote Operation ...
Страница 100: ...Chapter 3 Programming Your Counter for Remote Operation Programming Examples 3 60 Programming Guide 3 ...
Страница 101: ...4 Command Reference A Dictionary ...
Страница 162: ...Chapter 4 Command Reference Common Commands 4 62 Programming Guide 4 ...
Страница 163: ...5 Errors ...
Страница 174: ...Chapter 5 Errors Error Types 5 12 Programming Guide 5 ...
Страница 184: ......
Страница 186: ... Manual Part Number 53150 90002 Printed in U S A NOVEMBER 1997 ...