Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-294 2657A-901-01 Rev. B/December 2012
As an example, to set bit B1 of the operation status remote summary enable register, set
status.operation.remote.enable = status.operation.remote.CAV.
In addition to the above constants, operationRegister can be set to the numeric equivalent of the bit to set.
To set more than one bit of the register, set operationRegister to the sum of their decimal weights. For
example, to set bits B1 and B11, set operationRegister to 2,050 (which is the sum of 2 + 2,048).
Example
status.operation.remote.enable =
status.operation.remote.CAV
Uses a constant to set the CAV bit of the
operation status remote summary enable
register.
Also see
Operation Status Registers (on page E-9)
status.operation.*
(on page 7-265)
status.operation.sweeping.*
This attribute contains the operation status sweeping summary register set.
Type TSP-Link accessible Affected by Where saved Default value
Attribute - - - - - - - -
.condition (R) Yes Not applicable Not saved Not applicable
.enable (RW) Yes Status reset Not saved 0
.event (R) Yes Status reset Not saved 0
.ntr (RW) Yes Status reset Not saved 0
.ptr (RW) Yes Status reset Not saved 2 (All bits set)
Usage
operationRegister = status.operation.sweeping.condition
operationRegister = status.operation.sweeping.enable
operationRegister = status.operation.sweeping.event
operationRegister = status.operation.sweeping.ntr
operationRegister = status.operation.sweeping.ptr
status.operation.sweeping.enable = operationRegister
status.operation.sweeping.ntr = operationRegister
status.operation.sweeping.ptr = operationRegister
operationRegister
The status of the operation status sweeping summary register; a zero (0) indicates
no bits set (also send 0 to clear all bits); the only valid value other than zero (0) is 2
Details
These attributes are used to read or write to the operation status sweeping summary 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 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.