Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-184
2470-901-01 Rev. A /
May
2019
Details
You can map events to bits in the event registers with this command. This allows you to cause bits in
the condition and event registers to be set or cleared when the specified events occur. You can use
any valid event number as the event that sets or clears bits.
When a mapped event is programmed to set bits, the corresponding bits in both the condition register
and event register are set when the event is detected.
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
(on page B-9) 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
(on page B-9)
(on page B-7)
Programmable status register sets
(on page 14-183)
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
status.preset()
Resets the instrument status model.
Also see
(on page B-1)