B: Common commands Model 2450 Interactive SourceMeter® Instrument
B-8 2450-901-01 Rev. B/September 2013
*SRE
This command sets or clears the bits of the Status Request Enable Register.
Type Affected by Where saved Default value
Command only None
Usage
*SRE <n>
*SRE?
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:
An enabled event in the Measurement Event Register has occurred.
An error or status message is present in the Error Queue.
An enabled event in the Questionable Status Register has occurred.
A response message is present in the Output Queue.
An enabled event in the Standard Event Status Register has occurred.
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
Clear the bits of the Status Request Enable Register.
Also see
Understanding bit settings (on page C-15)