*SRE <NR1>
Function
Sets the condition of the Service Request Enable Register.
This register determines which bits from the Status Byte Register are allowed to
set the Request for Service (RQS) summary bit. A "1" in any Service Request
Enable Register bit position enables the corresponding Status Byte Register bit.
All such enabled bits are logically OR-ed to determine the Status Byte Register,
RQS bit state.
Parameters
0...255
Query
*SRE?
Reads the Service Request Enable Register.
Used to determine which Status Byte Register events are allowed to generate a
service request.
Returns
<NR1> 0...255
SRE register bit configuration:
Bit Position
7
Bit Name
OPR
Bit Weight
128
OPR = Operation Condition Status Register Summary, ESB = Standard Event Status Register
Summary, MAV = Output Queue Message Available, QUE = Questionable Condition Fault Register
Summary; SYS = System Error Queue Message available.
*STB?
Query
This query reads Status Byte Register.
Reading Status Byte Register clears QUE, ESB, OPR bits.
Position
Value
Name
OPR – Operation Status Summary
RQS – Request Service
ESB – Event Status Byte summary
Parameter
<NR1> 0...255
6
5
4
-
ESB
MAV
-
32
16
7
6
5
128
64
32
OPR
RQS
ESB
MAV – Message Available
QUE – Questionable Status summary
SYS – System Error query not empty
BSY – Operation is not complete
109
3
2
1
QUE
SYS
-
8
4
-
4
3
2
1
16
8
4
-
MAV
QUE
SYS
-
0
-
-
0
1
BSY