
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-286
2461-901-01 A/November 2015
Example 3
trigger.model.setblock(7, trigger.BLOCK_CONFIG_PREV, "measTrigList",
"sourTrigList")
Configure trigger block 7 to load the previous index in both the configuration list named
measTrigList
and
the configuration list named
sourTrigList
.
Also see
(on page 3-30)
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
Power cycle
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
)
blockNumber
The sequence of the block in the trigger model
configurationList
A string that defines the source or measure configuration list to
recall
index
The index in the configuration list to recall; default is 1
optionalConfigList
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 source list
optionalIndex
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.