Standard Event Status Enable Register - Agilent Technologies Infiniium 90000 Series Programmer's Manual

Oscilloscopes
Hide thumbs Also See for Infiniium 90000 Series:
Table of Contents

Advertisement

6
Status Reporting

Standard Event Status Enable Register

For any of the Standard Event Status Register bits to generate a summary
bit, you must first enable the bit. Use the *ESE (Event Status Enable)
common command to set the corresponding bit in the Standard Event
Status Enable Register. Set bits are read with the *ESE? query.
Example
Suppose your application requires an interrupt whenever any type of error
occurs. The error related bits in the (Standard) Event Status Register are
bits 2 through 5 (hexadecimal value 0x3C). Therefore, you can enable any
of these bits to generate the summary bit by sending:
myScope.WriteString "*ESE " + CStr(CInt("&H3C"))
Whenever an error occurs, it sets one of these bits in the (Standard) Event
Status Register. Because all the error related bits are enabled, a summary
bit is generated to set bit 5 (ESB) in the Status Byte Register.
If bit 5 (ESB) in the Status Byte Register is enabled (via the *SRE
command), a service request interrupt (SRQ) is sent to the controller PC.
Disabled Standard Event Status Register Bits Respond, but Do Not Generate a
N O T E
Summary Bit
Standard Event Status Register bits that are not enabled still respond to their corresponding
conditions (that is, they are set if the corresponding event occurs). However, because they
are not enabled, they do not generate a summary bit in the Status Byte Register.
114
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents