EasyManua.ls Logo

Anritsu MS9710C - Page 109

Anritsu MS9710C
269 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 7 Common Commands
7-6
ESR? Standard Event Status Register Query
(Returns the current value of the standard event status register)
Format
ESR?
Application example
30 WRITE @108 : “ESR?”
40 READ @108 : STEVET! A command error occurs if the variable value is 32.
50 PRINT STEVET
Response message NR1
NR1 = 0 to 255
Explanation
The current value NR1 of the standard event status register is returned. The total
of values (2
0
= 1, 2
1
= 2, 2
2
= 4, 2
3
= 8, 2
4
= 16, 2
5
= 32, 2
6
= 64, and/or 2
7
= 128)
corresponding to the standard event status enable register bits 1, 2, 3, 4, 5, 6, and/
or 7 that are enabled becomes NR1. When the response has been read (e.g., line
40), this register is cleared.
disabled=0, enabled=128 (2
7
)
disabled=0, enabled=64 (2
6
)
disabled=0, enabled=32 (2
5
)
disabled=0, enabled=16 (2
4
)
disabled=0, enabled=8 (2
3
)
disabled=0, enabled=4 (2
2
)
disabled=0, enabled=2 (2
1
)
disabled=0, enabled=1 (2
0
)
7
6
5
4
3
2
1
0
7
6
5
4
3
2
1
0
&
&
&
&
&
&
&
&
Logical OR
Power-ON
User request
Command error
Execution error
Device-dependent error
Query error
Bus control request
Operation complete
Standard Event Status
Register
Standard Event Status
Enable Register
To be set in Status Byte Register bit
5, an ESB (Event Summary Bit)
ESR?
Query

Table of Contents

Related product manuals