![Tektronix Keithley SourceMeter 2470 Reference Manual Download Page 820](http://html1.mh-extra.com/html/tektronix/keithley-sourcemeter-2470/keithley-sourcemeter-2470_reference-manual_1078034820.webp)
Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-180
2470-901-01 Rev. A /
May
2019
Details
You can use this command to read the status byte, which is returned as a numeric value.
When an enabled status event occurs, a summary bit is set in this register to indicate the event
occurrence. The returned value can indicate that one or more status events occurred. If more than
one bit of the register is set,
statusByte
equals the sum of their decimal weights. For example, if
129 is returned, bits B0 and B7 are set (1 + 128). See
(on page B-15) for
additional information about reading bit values.
If you are using the GPIB, USB, or VXI-11 serial poll sequence of the 2470 to get the status byte
(also called a serial poll byte), B6 is the Request for Service (RQS) bit. If the bit is set, it indicates
that a serial poll (SRQ) has occurred. For additional detail, see
The meanings of the individual bits of this register are shown in the following table.
Bit
Decimal
value
Constant
When set, indicates the following has occurred:
0
1
status.MSB
An enabled measurement event
1
2
Not used
2
4
status.EAV
An error or status message is present in the Error Queue
3
8
status.QSB
An enabled questionable event
4
16
status.MAV
A response message is present in the Output Queue
5
32
status.ESB
An enabled standard event
6
64
status.MSS
An enabled summary bit of the status byte register is set
7
128
status.OSB
An enabled operation event
Example
statusByte = status.condition
print(statusByte)
Returns
statusByte
.
Example output:
1.02
Converting this output (129) to its binary equivalent yields 1000
0001
Therefore, this output indicates that the set bits of the status
byte condition register are presently B0 (MSS) and B7 (OSB).
Also see
None