Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-238
2470-901-01 Rev. A /
May
2019
Example 1
trigger.model.setblock(8, trigger.BLOCK_CONFIG_PREV, "measTrigList")
Configure trigger block 8 to load the previous index in the configuration list named
measTrigList
.
Example 2
trigger.model.load("Empty")
trigger.model.setblock(1, trigger.BLOCK_CONFIG_RECALL, "measTrigList", 3)
trigger.model.setblock(2, trigger.BLOCK_BUFFER_CLEAR)
trigger.model.setblock(3, trigger.BLOCK_CONFIG_PREV, "measTrigList")
print(trigger.model.getblocklist())
Clear the trigger model.
Recall index 3 of a configuration list named
measTrigList
.
Clear reading buffer named
defbuffer1
.
Then, recall the second index of a configuration list named
measTrigList
.
Output:
1) CONFIG_RECALL
CONFIG_LIST: measTrigList INDEX: 3
2) BUFFER_CLEAR
BUFFER: defbuffer1
3) CONFIG_PREV
CONFIG_LIST: measTrigList
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