Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-248
2470-901-01 Rev. A /
May
2019
This block does not determine the settings of the output source (such as the output voltage level and
source delay). The source settings are determined by either the present settings of the instrument or
by a source configuration list.
When you list trigger blocks, this block is listed as
SOURCE_OUTPUT
.
Example
trigger.model.setblock(2, trigger.BLOCK_SOURCE_OUTPUT, smu.ON)
Set trigger model to turn the source on when it reaches block 2.
Also see
(on page 8-29)
trigger.model.setblock() — trigger.BLOCK_WAIT
This function defines a trigger model block that waits for an event before allowing the trigger model to continue.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
Not applicable
Usage
trigger.model.setblock(
blockNumber
, trigger.BLOCK_WAIT,
event
)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_WAIT,
event, clear
)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_WAIT,
event
,
clear
,
logic, event
)
trigger.model.setblock(
blockNumber
, trigger.BLOCK_WAIT,
event
,
clear
,
logic, event,
event
)
blockNumber
The sequence of the block in the trigger model
event
The event that must occur before the trigger block allows trigger execution to
continue (see
Details
)
clear
To clear previously detected trigger events when entering the wait block:
trigger.CLEAR_ENTER
To immediately act on any previously detected triggers and not clear them (default):
trigger.CLEAR_NEVER
logic
If each event must occur before the trigger model continues:
trigger.WAIT_AND
If at least one of the events must occur before the trigger model continues:
trigger.WAIT_OR