14: TSP command reference 2470 High Voltage SourceMeter Instrument
14-240 2470-901-01 Rev. A / May 2019
Example 2
trigger.model.setblock(3, trigger.BLOCK_CONFIG_RECALL, "measTrigList", 5,
"sourTrigList")
print(trigger.model.getblocklist())
Configure trigger block 3 to load index 5 from the configuration list named measTrigList and load index 1
from the configuration list name sourTrigList.
Query the configuration of the block.
Output:
5) CONFIG_RECALL CONFIG_LIST: measTrigList and sourTrigList INDEX: 5 and 1
Also see
Configuration lists (on page 4-83)
trigger.model.setblock() — trigger.BLOCK_DELAY_CONSTANT
This function adds a constant delay to the execution of a trigger model.
Type TSP-Link accessible Affected by Where saved Default value
Instrument reset
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_DELAY_CONSTANT, time)
The sequence of the block in the trigger model
The amount of time to delay in seconds (167 ns to 10 ks, or 0 for no delay)
Details
When trigger model execution reaches a delay block, it stops normal measurement and trigger model
operation for the time set by the delay. Background measurements continue to be made, and if any
previously executed block started infinite measurements, they also continue to be made.
This delay waits for the delay time to elapse before proceeding to the next block in the trigger model.
If other delays have been set, this delay is in addition to the other delays.
Example
trigger.model.setblock(7, trigger.BLOCK_DELAY_CONSTANT, 30e-3)
Configure trigger block 7 to delay the trigger model before the next block until a delay of 30 ms elapses.
Also see
None