Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-223
status.operation.condition
This attribute reads the Operation Event Register of the status model.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (R)
Yes
Not applicable
Not applicable
Not applicable
Usage
operationRegister
= status.operation.condition
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
This command reads the contents of the Operation Condition Register, which is one of the Operation
Event Registers.
For detail on interpreting the value of a register, see
(on page C-16).
Example
print(status.operation.condition)
Returns the contents of the register.
Also see
(on page C-8)
status.operation.enable
This attribute sets or reads the contents of the Operation Event Enable Register of the status model.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW)
Yes
status.preset()
Not applicable
0
Usage
operationRegister
= status.operation.enable
status.operation.enable = o
perationRegister
operationRegister
The status of the operation status register
Details
This command sets or reads the contents of the Enable register of the Operation Event Register.
When one of these bits is set, when the corresponding bit in the Operation Event Register or
Operation Condition Register is set, the OSB bit in the Status Byte Register is set.
Example
-- decimal 20480 = binary 0101 0000 0000 0000
status.operation.enable = operationRegister
Sets the 12 and 14 bits of the operation
status enable register using a decimal
value.
Also see
(on page C-8)
(on page C-16)