6
Status Reporting
Service Request Enable Register
Setting the Service Request Enable Register bits enables 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. Bit 6
always returns 0. Refer to the Status Reporting Data Structures shown in
Figure
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
110
3.
a summary bit that sets bit 5 (ESB).
Agilent Infiniium 90000 Series Oscilloscopes Programmer's Reference