Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-314
DMM7510-901-01 Rev. B / May 2015
Details
The Config List Prev building block defines a trigger model block that recalls the settings stored at the
previous index in a configuration list.
The configuration list previous index trigger block type recalls the previous index in a configuration
list. It configures the settings of the instrument based on the settings at that index. The trigger model
executes the settings at that index before the next block is executed.
The first time the trigger model encounters this block, the last index in the configuration list is recalled.
Each subsequent time trigger model execution reaches a configuration list previous block for this
configuration list, it goes backward one index. When the first index in the list is reached, it goes to the
last index in the configuration list.
You must create the configuration list before you can define it in this building block.
Example
trigger.model.setblock(8, trigger.BLOCK_CONFIG_PREV, "measTrigList")
Configure trigger block 8 to load the previous index in the configuration list named
measTrigList
.
Also see
(on page 3-37)
trigger.model.setblock() — trigger.BLOCK_CONFIG_RECALL
This function recalls the system settings that are stored in a 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
)
blockNumber
The sequence of the block in the trigger model
configurationList
A string that defines the configuration list to recall
index
The index in the configuration list to recall; default is 1
Details
When the trigger model reaches a configuration recall building block, the settings in the specified
configuration list are recalled.
You can restore a specific set of configuration settings in the configuration list by defining the index.
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
.
Also see
(on page 3-37)