System SourceMeter® Instrument Reference Manual Section 7:
2600BS-901-01 Rev. C / August 2016 7-277
Bit B7 B6 B5 B4 B3 B2 B1 B0
(2
) (2
) (2
) (2
) (2
) (2
) (2
) (2
)
Example
statusByte = status.condition
print(statusByte)
Returns
.
Sample output:
1.29000e+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
Also see
Status byte and service request (SRQ) (on page E-15)
status.measurement.*
This attribute contains the measurement event register set.
Type TSP-Link accessible Affected by Where saved Default value
.condition (R) Yes Not applicable Not saved Not applicable
Usage
measurementRegister = status.measurement.condition
measurementRegister = status.measurement.enable
measurementRegister = status.measurement.event
measurementRegister = status.measurement.ntr
measurementRegister = status.measurement.ptr
status.measurement.enable = measurementRegister
status.measurement.ntr = measurementRegister
status.measurement.ptr = measurementRegister
The status of the measurement event register; a zero (0) indicates no bits
set (also send 0 to clear all bits); other values indicate various bit settings
Details
These attributes read or write the measurement event registers.
Reading a 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 B0, and the most significant bit
is bit B15.
For example, assume value 257 is returned for the enable register. The binary equivalent is
0000 0001 0000 0001. This value indicates that bit B0 (VLMT) and bit B8 (BAV) are set.