7: TSP command reference Series 2600B System SourceMeter® Instrument
7-270 2600BS-901-01 Rev. B / May 2013
status.operation.*
These attributes manage the operation status register set of the status model.
Type TSP-Link accessible Affected by Where saved Default value
.condition (R) Yes Not applicable Not saved Not applicable
.event (R) Yes Status reset Not saved 0
Usage
operationRegister = status.operation.condition
operationRegister = status.operation.enable
operationRegister = status.operation.event
operationRegister = status.operation.ntr
operationRegister = status.operation.ptr
status.operation.enable = operationRegister
status.operation.ntr = operationRegister
status.operation.ptr = operationRegister
The status of the operation status 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 operation status 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, if a value of 2.04800e+04 (which is 20,480) is read as the value of the condition register, the binary
equivalent is 0101 0000 0000 0000. This value indicates that bit B14 (PROGRAM_RUNNING) and bit B12 (USER)
are set.
* Least significant bit
** Most significant bit
For information about .condition, .enable, .event, .ntr, and .ptr registers, refer to Status register set contents (on
page E-1) and Enable and transition registers (on page E-19). The individual bits of this register are defined in
the following table.