![background image](http://html1.mh-extra.com/html/keithley/sourcemeter-2600-series/sourcemeter-2600-series_reference-manual_4098633369.webp)
Series 2600 System SourceMeters Reference Manual
Instrument Control Library 12-95
Return to
2600S-901-01 Rev. A / May 2006
status.condition
Attribute
Status byte register.
Usage
Reads the status byte register:
statbyte = status.condition
Remarks
• This attribute is used to read the status byte, which is returned as a numeric 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 enable register. The binary
equivalent is 10000001. This value indicates that bit B0 (MSB) and bit B7 (OSB) are
set.
• The bits of the status byte register are described as follows:
•
Bit B0, Measurement Summary Bit (MSB) –
Set summary bit indicates that an
enabled measurement event has occurred.
•
Bit B1, System Summary Bit (SSB) –
Set summary bit indicates that an enabled
system event has occurred.
•
Bit B2, Error Available (EAV) –
Set summary bit indicates that an error or status
message is present in the Error Queue.
•
Bit B3, Questionable Summary Bit (QSB) –
Set summary bit indicates that an
enabled questionable event has occurred.
•
Bit B4, Message Available (MAV) –
Set summary bit indicates that a response
message is present in the Output Queue.
•
Bit B5, Event Summary Bit (ESB) –
Set summary bit indicates that an enabled
standard event has occurred.
•
Bit B6, Request Service (RQS)/Master Summary Status (MSS) –
Set bit
indicates that an enabled summary bit of the Status Byte Register is set.
Depending on how it is used, Bit B6 of the Status Byte Register is either the
Request for Service (RQS) bit or the Master Summary Status (MSS) bit:
• When using the GPIB serial poll sequence of the SourceMeter to obtain the
status byte (serial poll byte), B6 is the RQS bit.
• When using
status.condition
or the *STB? common command to read the
status byte, B6 is the MSS bit.
•
Bit B7, Operation Summary (OSB) –
Set summary bit indicates that an enabled
operation event has occurred.
Details
See “
Status byte and service request (SRQ)
Example
Reads the status byte:
statbyte = status.condition
print(statbyte)
Output:
1.02
The above output indicates that bits B0 (MSS) and B7 (OSB) are set.
Содержание SourceMeter 2600 Series
Страница 507: ...AppendixA Specifications Appendix A topics Model 2600S Specifications page A 2 2600S 901 01 Rev A May 2006...
Страница 575: ...AppendixF DisplayCharacterCodes Appendix F topics Introduction page F 2...
Страница 592: ......
Страница 593: ......