Esr? (Event Status Register) - Agilent Technologies Infiniium 8000A Programmer's Reference Manual

Table of Contents

Advertisement

Query
Returned Format
<status> An integer, 0 to 255, representing the total bit weights of all bits that are high
Example

*ESR? (Event Status Register)

*ESR?
The *ESR? query returns the contents of the Standard Event Status Register.
Reading this register clears the Standard Event Status Register, as does a *CLS.
<status><NL>
at the time you read the register.
This example places the current contents of the Standard Event Status Register
in the numeric variable, Event, then prints the value of the variable to the
computer's screen.
10
OUTPUT 707;"*ESR?"
20
ENTER 707;Event
30
PRINT Event
40
END
Table 11-3 lists each bit in the Event Status Register and the corresponding bit
weights.
Common Commands
*ESR? (Event Status Register)
11-7

Advertisement

Table of Contents
loading

Table of Contents