Appendix 0: Common commands
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8
DMM7510-901-01 Rev. B / May 2015
*SRE
This command sets or clears the bits of the Service Request Enable Register.
Type
Affected by
Where saved
Default value
Command and query
:STATus:PRESet
status.preset()
Not applicable
0
Usage
*SRE <n>
*SRE?
<n>
Clear the Status Request Enable Register: 0
Set the instrument for an SRQ interrupt: 32
Details
This command sets or clears the individual bits of the Status Request Enable Register.
The Status Request Enable Register is cleared when power is cycled or when a parameter value of 0
is sent with this command.
The instrument returns a decimal value that corresponds to the binary-weighted sum of all bits set in
the register.
Bit
Decimal
value
Constants
When set, indicates the following has occurred:
0
1
status.MSB
An enabled event in the Measurement Event Register has
occurred.
1
2
Not used
Not used.
2
4
status.EAV
An error or status message is present in the Error Queue.
3
8
status.QSB
An enabled event in the Questionable Status Register has
occurred.
4
16
status.MAV
A response message is present in the Output Queue.
5
32
status.ESB
An enabled event in the Standard Event Status Register
has occurred.
6
64
Not used
Not used.
7
128
status.OSB
An enabled event in the Operation Status Register has
occurred.
Constants are only available if you are using the TSP command set. If you are using the SCPI
command set, you must use the decimal values.
Example
*SRE 0
Clear the bits of the Status Request Enable Register.
Also see
(on page 14)