
Model 2461 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2461-901-01 A/November 2015
8-287
When the trigger model reaches a configuration recall block, the settings in the specified configuration
list are recalled if a single configuration list is specified. If both measure and source configuration lists
are specified, measure and source settings are recalled from the next index in each list when this
block is reached. The index numbers recalled may not match; it depends on the number of indexes in
each list and what index number each list is on.
You can restore a specific set of configuration settings in the configuration list by defining the index.
You must create the configuration lists before you can define them in this building block.
Example
trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "measTrigList", 5)
Configure trigger block 3 to load index 5 from the configuration list named
measTrigList
.
Example 2
trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "measTrigList", 5,
"sourTrigList")
print(trigger.model.getblocklist())
Configure trigger block 3 to load index 5 from the configuration list named
measTrigList
and load index 1
from the configuration list name
sourTrigList
.
Query the configuration of the block.
Output:
5) CONFIG_RECALL CONFIG_LIST: measTrigList and sourTrigList INDEX: 5 and 1
Also see
(on page 3-30)
trigger.model.setblock() — trigger.BLOCK_DELAY_CONSTANT
This function adds a constant delay to the trigger model.
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_DELAY_CONSTANT,
time
)
blockNumber
The sequence of the block in the trigger model
time
The amount of time to delay in seconds (167 ns to 10 ks, or 0 for no delay)
Details
When trigger model execution reaches a delay block, it stops normal measurement and trigger model
operation for the amount of time set by the delay. Background measurements continue to be made,
and if any previously executed block started infinite measurements, they also continue to be made.
This delay waits for the set amount of delay time to elapse before proceeding to the next block in the
trigger model.
If other delays have been set, this delay is in addition to the other delays.