Keithley 2601 Reference Manual page 360

System sourcemeter 2600 series (smu)
Hide thumbs Also See for 2601:
Table of Contents

Advertisement

Section 12: Instrument Control Library
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
status.MEASUREMENT_SUMMARY_BIT
status.MSB
status.SYSTEM_SUMMARY_BIT
status.SSB
status.ERROR_AVAILABLE
status.EAV
status.QUESTIONABLE_SUMMARY_BIT
status.QSB
status.MESSAGE_AVAILABLE
status.MAV
status.EVENT_SUMMARY_BIT
status.ESB
status.OPERATION_SUMMARY_BIT
status.OSB
servenabreg
To set bit B0 (MSB), set
To set bit B2 (EAV), set
To set bit B7 (OSB), set
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
Example
Sets the MSB bit of the service request enable register:
status.request_enable = status.MSB
status.request_event
Attribute
Service request event register.
Reads the service request event register:
Usage
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.
12-100
can also be set to the decimal weight of the bit to be set. Examples:
to 1 (2
servenabreg
to 4 (2
servenabreg
to 128 (2
servenabreg
(SRQ)" in
Return to
Section Topics
Series 2600 System SourceMeter® Instruments Reference Manual
Clears all bits.
Sets (enables) MSB bit (B0).
Sets (enables) MSB bit (B0).
Sets (enables) SSB bit (B1).
Sets (enables) SSB bit (B1).
Sets (enables) EAV bit (B2).
Sets (enables) EAV bit (B2).
Sets (enables) QSB bit (B3).
Sets (enables) QSB bit (B3).
Sets (enables) MAV bit (B4).
Sets (enables) MAV bit (B4).
Sets (enables) ESB bit (B5).
Sets (enables) ESB bit (B5).
Sets (enables) OSB bit (B7).
Sets (enables) OSB bit (B7).
0
).
2
).
7
).
Appendix
D.
2600S-901-01 Rev. C / January 2008

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

26362602261126122635

Table of Contents