
Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-250
2606B-901-01 Rev. B / May 2018
status.condition
This attribute stores the status byte condition register.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not saved
Not applicable
Usage
statusByte
= status.condition
statusByte
The status byte; a zero (0) indicates no bits set; other values indicate various bit
settings
Details
This attribute is used to read the status byte, which is returned as a numeric value. The binary
equivalent of the value of this attribute indicates which register bits are set. In the binary equivalent,
the least significant bit is bit B0, and the most significant bit is bit B7. For example, if a value of
1.02
(which is 129) is read as the value of this register, the binary equivalent is 1000 0001.
This value indicates that bit B0 and bit B7 are set.
B7
B6
B5
B4
B3
B2
B1
B0
**
>
>
>
>
>
>
*
1
0
0
0
0
0
0
1
* Least significant bit
** Most significant bit
The returned value can indicate one or more status events occurred. When an enabled status event
occurs, a summary bit is set in this register to indicate the event occurrence.
The individual bits of this register have the following meanings:
Bit
Value
Description
B0
status.MEASUREMENT_SUMMARY_BIT
status.MSB
Set summary bit indicates that an enabled
measurement event has occurred.
Bit B0 decimal value: 1
B1
status.SYSTEM_SUMMARY_BIT
status.SSB
Set summary bit indicates that an enabled system
event has occurred.
Bit B1 decimal value: 2
B2
status.ERROR_AVAILABLE
status.EAV
Set summary bit indicates that an error or status
message is present in the Error Queue.
Bit B2 decimal value: 4
B3
status.QUESTIONABLE_SUMMARY_BIT
status.QSB
Set summary bit indicates that an enabled
questionable event has occurred.
Bit B3 decimal value: 8
B4
status.MESSAGE_AVAILABLE
status.MAV
Set summary bit indicates that a response message
is present in the Output Queue.
Bit B4 decimal value: 16
B5
status.EVENT_SUMMARY_BIT
status.ESB
Set summary bit indicates that an enabled standard
event has occurred.
Bit B5 decimal value: 32