STATUS
DESCRIPTION
COMMAND SYNTAX
QUERY SYNTAX
Response format
EXAMPLE (GPIB)
System Commands 5
*SRE
Command/Query
The *SRE command sets the Service Request Enable register
(SRE). This command allows the user to specify which summary
message bit(s) in the STB register will generate a service request.
Refer to Table 8, page 137 for an overview of the available sum-
mary messages.
A summary message bit is enabled by writing a 1 into the corre-
sponding bit location. Conversely, writing a 0 into a given bit
location prevents the associated event from generating a service
request (SRQ). Clearing the SRE register disables SRQ interrupts.
The *SRE? query returns a value which when converted to a bi-
nary number represents the bit settings of the SRE register. Note
that bit 6 (MSS) cannot be set and its returned value is always
zero.
Note: This command can be executed in both local and remote
modes.
* SRE <value>
<value> := 0 to 255
*SRE?
*SRE <value>
The following command allows an SRQ to be generated as soon as
the MAV summary bit (bit 4, i.e. decimal 16) and/or the INB
summary bit (bit 0, i.e. decimal 1) in the STB register are set.
Summing these two values yields the SRE mask 16 + 1 = 17.
CMD$=’*SRE 17": CALL IBWRT(SCOPE%,CMD$)
135