8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-226 2461-901-01 A/November 2015
When a mapped event is programmed to clear bits, the bit in the condition register is set to 0 when
the event is detected.
If the event is set to zero (0), the bit is never set.
See Event numbers (on page C-10) for information about event numbers.
Example
status.operation.setmap(0, 2731, 2732)
When event 2731 (trigger model initiated)
occurs, bit 0 in the condition and event
registers of the Operation Event Register
are set. When event 2732 (trigger model
idled) occurs, bit 0 in the condition register is
cleared.
Also see
Event numbers (on page C-10)
Operation Event Register (on page C-8)
Programmable status register sets (on page C-5)
status.operation.getmap() (on page 8-224)
status.preset()
This function resets all bits in the status model.
Type TSP-Link accessible
Affected by Where saved Default value
Function Yes
Usage
status.preset()
Details
This function clears the event registers and the enable registers for operation and questionable. It will
not clear the Service Request Enable Register (*SRE) to Standard Request Enable Register (*ESE).
Preset does not affect the event queue.
The Standard Event Status Register is not affected by this command.
Example
Resets the instrument status model.
Also see
Status model (on page C-1)