*SRE <integer>

*SRE?

Service Request Enable

The Service Request Enable command sets/reads the service request enable register bits. This enable register contains a mask value for the bits to be enabled in the status byte register. A bit that is set true in the enable register enables the corresponding bit in the status byte register to generate a Service Request.

Parameters: <integer> = the sum (between 0 and 255) of all bits that are true

See table below:

Service Request Enable Register (1 = enable)
BitWeightEnables
7128OPR, Operation Status
664RQS, Request Service
532ESB, Event Status Bit
416MAV, Message Available
38QUE, Questionable Data/Signal Status
24EAV, Error Available
12Reserved
01Reserved

Returned Format: <integer>

Where:

<integer> = the sum of all bits that are set.

Example: *SRE 16

In this example, the counter generates a service request when a message is available in the output queue.