4 - 26 COMMAND REFERENCE
*
SRE Service Request Enable
Syntax:
*
SRE <numeric_data>
Query
form:
*
SRE?
Response:
<integer>
Description:
The command sets and the query reports the contents of the Service Request
Enable (SRE) register. The range of the 8-bit ES R contents is between 0 and 255
decimal. However, bit 6 (value 64) is ignored, and will always be reported zero.
Therefore, the real range is from 0 to 63 and from 128 to 191. The bits in the
Service Request Enable Register (
*
SRE) determine the following:
•
Which corresponding bits in the Status Byte register (STB) cause a service
request from the instrument.
•
Which corresponding bits in the Status Byte register (STB) are summarized in
the MSS-bit in the
*
STB register.
A bit value of 1 indicates an enable condition and a bit value of 0 indicates a
disable condition. To make sure that the service request line is activated only
when a new reason for service occurs, the status byte is not updated after a SRQ
(Service Request) has occurred until:
•
A serial poll is done.
•
The reason for service no longer exists, e.g., after reading the contents of the
event register.
Example:
Send → *SRE #B100000 This sets bit 5 ESB in the Service
Request Enable Register.