12-100 Return to Section Topics 2600S-901-01 Rev. C / January 2008
Section 12: Instrument Control Library Series 2600 System SourceMeter® Instruments Reference Manual
status.request_enable
Attribute Service request enable register.
Usage Reads service request enable register:
servenabreg = status.request_enable
Writes to system enable register:
status.request_enable = servenabreg
Set servenabreg to one of the following values:
0 Clears all bits.
status.MEASUREMENT_SUMMARY_BIT Sets (enables) MSB bit (B0).
status.MSB Sets (enables) MSB bit (B0).
status.SYSTEM_SUMMARY_BIT Sets (enables) SSB bit (B1).
status.SSB Sets (enables) SSB bit (B1).
status.ERROR_AVAILABLE Sets (enables) EAV bit (B2).
status.EAV Sets (enables) EAV bit (B2).
status.QUESTIONABLE_SUMMARY_BIT Sets (enables) QSB bit (B3).
status.QSB Sets (enables) QSB bit (B3).
status.MESSAGE_AVAILABLE Sets (enables) MAV bit (B4).
status.MAV Sets (enables) MAV bit (B4).
status.EVENT_SUMMARY_BIT Sets (enables) ESB bit (B5).
status.ESB Sets (enables) ESB bit (B5).
status.OPERATION_SUMMARY_BIT Sets (enables) OSB bit (B7).
status.OSB Sets (enables) OSB bit (B7).
servenabreg can also be set to the decimal weight of the bit to be set. Examples:
To set bit B0 (MSB), set servenabreg to 1 (2
0
).
To set bit B2 (EAV), set servenabreg to 4 (2
2
).
To set bit B7 (OSB), set servenabreg to 128 (2
7
).
To set more than one bit of the register, set servenabreg to the sum of their decimal
weights. For example, to set bits B0 and B7, set servenabreg to 129 (1 + 128).
Remarks • This attribute is used to read or write to the service request enable register.
• Reading the service request enable status register returns a value. The binary equivalent
of the returned value indicates which register bits are set. The least significant bit of the
binary number is bit 0, and the most significant bit is bit 7.
• For example, assume value 129 is returned for the node enable register. The binary
equivalent is 10000001. This value indicates that bit B0 (MSB) and bit B7 (OSB) are set.
• Assigning a value to this attribute enables one or more status events for service request.
When an enabled status event occurs, bit B6 of the status byte sets to generate an SRQ
(service request).
• The service request enable register uses most of the same summary events as the status
byte. Bit B6 (MSS) is not used by the enable register. For details, see
“status.condition” register.
Details See “Status byte and service request (SRQ)” in Appendix D.
Example Sets the MSB bit of the service request enable register:
status.request_enable = status.MSB
status.request_event
Attribute Service request event register.
Usage Reads the service request event register:
serveventreg = status.request_event
Remarks • This attribute is used to read the service request event register, which is returned as a
numeric value. Reading this register returns a value. The binary equivalent of the returned
value. The least significant bit of the binary number is bit 0, and the most significant bit is
bit 7.
• For example, assume value 129 is returned for the event register. The binary equivalent is
10000001. This value indicates that bit B0 (MSB) and bit B7 (OSB) are set.
• The service request event register uses most of the same summary events as the status
byte. Bit B6 (MSS) is not used by the event register. For details, see
“status.condition” register.