Sre (Service Request Enable) - HP 16500C Programmer's Manual

Logic analysis system
Hide thumbs Also See for 16500C:
Table of Contents

Advertisement

*SRE (Service Request Enable)

Command
*SRE <mask>
The *SRE command sets the Service Request Enable Register bits. The
Service Request Enable Register contains a mask value for the bits to be
enabled in the Status Byte Register. A one in the Service Request Enable
Register will enable the corresponding bit in the Status Byte Register. A zero
will disable the bit. Refer to table 9-5 for the bits in the Service Request
Enable Register and what they mask.
An integer from 0 to 255
<mask>
Example
This example enables a service request to be generated when a message is
available in the output queue. When a message is available, the MAV
(Message Available) bit will be high.
OUTPUT XXX;"*SRE 16"
Query
*SRE?
The *SRE query returns the current value.
Returned Format
<mask><NL>
An integer from 0 to 255 representing the sum of all bits that are set.
<mask>
Example
OUTPUT XXX;"*SRE?"
See Also
Refer to Chapter 7, "Status Reporting," for a complete discussion of status.
Common Commands
*SRE (Service Request Enable)
9–15

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

16501a

Table of Contents