Interactive SourceMeter® Instrument Reference Manual Section 8:
2461-901-01 A/November 2015 8-231
status.request_enable
This attribute stores the settings of the Service Request (SRQ) Enable Register.
Type TSP-Link accessible Affected by Where saved Default value
Attribute (RW) Yes status.preset() Not applicable 0
Usage
SRQEnableRegister = status.request_enable
status.request_enable = SRQEnableRegister
The status of the service request (SRQ) enable register; a zero (0)
indicates no bits set (also send 0 to clear all bits); other values indicate
various bit settings (0 to 255)
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.
7 128
An enabled event in the Operation Status Register has
Example 1
requestSRQEnableRegister = status.MSB +
status.OSB
status.request_enable = requestSRQEnableRegister
Uses constants to set the MSB and OSB
bits of the service request (SRQ) enable
register and clear all other bits.
Example 2
-- decimal 129 = binary 10000001
requestSRQEnableRegister = 129
status.request_enable = requestSRQEnableRegister
Uses a decimal value to set the MSB and
OSB bits and clear all other bits of the
service request (SRQ) enable register.