8: TSP command reference Model 2450 Interactive SourceMeter® Instrument
8-212 2450-901-01 Rev. B/September 2013
trigger.model.setblock() — trigger.BLOCK_SOURCE_OUTPUT
This attribute defines a trigger block that turns the output source on or off.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Power cycle
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_SOURCE_OUTPUT, state)
The sequence of the block in the trigger model
Turn the source off (smu.OFF or 0)
Turn the source on
or
)
The number of the user delay to recall
Details
The source building block determines if the output source is turned on or off when the trigger model reaches this
block.
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, 1)
Set trigger model to turn the source on when it reaches block 2.
Also see
Wait building block (on page 3-96)
trigger.model.setblock() — trigger.BLOCK_WAIT
This command 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
Configuration script Not applicable
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event)
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, logic, event)
trigger.model.setblock(blockNumber, trigger.BLOCK_WAIT, event, logic, event, event)
The sequence of the block in the trigger model
The event that must occur before the trigger block will act
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: