High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-239
trigger.model.setblock() — trigger.BLOCK_CONFIG_RECALL
This function recalls the system settings that are stored in a source or measure configuration list, or both a source
and measure configuration list.
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_CONFIG_RECALL,
"configurationList")
trigger.model.setblock(blockNumber, trigger.BLOCK_CONFIG_RECALL,
"configurationList", index)
trigger.model.setblock(blockNumber, trigger.BLOCK_CONFIG_RECALL,
"configurationList", index, "optionalConfigList")
trigger.model.setblock(blockNumber, trigger.BLOCK_CONFIG_RECALL,
"configurationList", index, "optionalConfigList", optionalIndex)
The sequence of the block in the trigger model
A string that defines the source or measure configuration list to recall
The index in the configuration list to recall; default is 1
A string that defines the second configuration list to recall the index from;
must be the opposite type of list than the first; for example, if the first
configuration list is a measure list, the second configuration list must be a
The index to recall from the second configuration list; defaults to 1
Details
If two configuration lists are specified with this command, they must not be of the same type. For
example, if the first configuration list is a measure configuration list, the second configuration list must
be a source configuration list. The order of the configuration lists does not matter with this command,
as long as they are of the opposite type.
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.
The configuration lists must be defined before you can use this block. If one of the indices for the
configuration list changes, verify that the trigger model count is still accurate.
Example 1
trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "measTrigList", 5)
Configure trigger block 3 to load index 5 from the configuration list named measTrigList.