Model 2657A High Power System SourceMeter® Instrument Reference Manual Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012 7-311
status.reset()
This function resets all bits in the status model.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
status.reset()
Details
This function clears all status data structure registers (enable, event, NTR, and PTR) to their default values. 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).
Example
status.reset()
Resets the instrument status model.
Also see
Status model (on page E-1)
status.standard.*
These attributes manage the standard event status register set of the status model.
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 253 (All bits set)
Usage
standardRegister = status.standard.condition
standardRegister = status.standard.enable
standardRegister = status.standard.event
standardRegister = status.standard.ntr
standardRegister = status.standard.ptr
status.standard.enable = standardRegister
status.standard.ntr = standardRegister
status.standard.ptr = standardRegister
standardRegister
The status of the standard event status register; a zero (0) indicates no bits set (also
send 0 to clear all bits); other values indicate various bit settings