Status Reporting
9
Agilent InfiniiVision 7000A Series Oscilloscopes Programmer's Guide
759
Service Request Enable Register (SRE)
Setting the Service Request Enable Register bits enable corresponding bits
in the Status Byte Register. These enabled bits can then set RQS and MSS
(bit 6) in the Status Byte Register.
Bits are set in the Service Request Enable Register using the *SRE
command and the bits that are set are read with the *SRE? query.
Example
The following example sets bit 4 (MAV) and bit 5 (ESB) in the Service
Request Enable Register.
myScope.WriteString "*SRE " + CStr(CInt("&H30"))
This example uses the decimal parameter value of 48, the string returned
by CStr(CInt("&H30")), to enable the oscilloscope to generate an SRQ
interrupt under the following conditions:
•
When one or more bytes in the Output Queue set bit 4 (MAV).
•
When an enabled event in the Standard Event Status Register generates
a summary bit that sets bit 5 (ESB).
Summary of Contents for InfiniiVision 7000A Series
Page 1: ...Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide...
Page 34: ...34 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 1 What s New...
Page 44: ...44 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 2 Setting Up...
Page 58: ...58 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 3 Getting Started...
Page 750: ...750 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide 8 Error Messages...
Page 922: ...922 Agilent InfiniiVision 7000A Series Oscilloscopes Programmer s Guide Index...