7Status Reporting

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).

514

Agilent InfiniiVision 5000 Series Oscilloscopes Programmer's Reference

Page 514
Image 514
Agilent Technologies 5000 Series manual Service Request Enable Register SRE