Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-236
2470-901-01 Rev. A /
May
2019
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 trigger model execution reaches a configuration recall next block, the settings at the next index
in the specified configuration list are restored 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. 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.
The first time the trigger model encounters this block for a specific configuration list, the first index is
recalled if the list has not already had an index recalled by the recall block command in an earlier
trigger model block. If the configuration list has recalled an index with the recall block, the next index
in the list is recalled instead of the first. For example, the recall block recalls index 1 by default, so if
the trigger model uses a recall block before this one, the first time the next block is reached after that
recall, index 2 is recalled. Each subsequent time this block is encountered, the settings at the next
index in the configuration list are recalled and take effect before the next step executes. When the
last index in the list is reached, it returns to the first index.
The configuration lists must be defined before you can use this block.
Example 1
trigger.model.setblock(5, trigger.BLOCK_CONFIG_NEXT, "measTrigList")
Configure trigger block 5 to load the next index in the configuration list named
measTrigList
.
Example 2
trigger.model.load("Empty")
trigger.model.setblock(1, trigger.BLOCK_CONFIG_RECALL, "measTrigList")
trigger.model.setblock(2, trigger.BLOCK_BUFFER_CLEAR)
trigger.model.setblock(3, trigger.BLOCK_CONFIG_NEXT, "measTrigList")
print(trigger.model.getblocklist())
Clear the trigger model.
Recall index 1 of a configuration list named
measTrigList
.
Clear reading buffer named
defbuffer1
.
Recall the second index of a configuration list named
measTrigList
.
Output:
1) CONFIG_RECALL
CONFIG_LIST: measTrigList INDEX: 1
2) BUFFER_CLEAR
BUFFER: defbuffer1
3) CONFIG_NEXT
CONFIG_LIST: measTrigList
Example 3
trigger.model.setblock(7, trigger.BLOCK_CONFIG_NEXT, "measTrigList",
"sourTrigList")
Configure trigger block 7 to load the next index in both the configuration list named
measTrigList
and the
configuration list named
sourTrigList
.