2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-241
trigger.model.setblock() — trigger.BLOCK_DELAY_DYNAMIC
This function adds a user delay to the execution of the trigger model.
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_DELAY_DYNAMIC,
trigger.USER_DELAY_M
n
)
blockNumber
The sequence of the block in the trigger model
userDelay
The number of the user delay:
trigger.USER_DELAY_M
n
, where
n
is the number of the user delay (1 to 5)
set by
smu.measure.userdelay[
N
]
trigger.USER_DELAY_S
n
, where
n
is the number of the user delay (1 to 5)
set by
smu.source.userdelay[
N
]
Details
When trigger model execution reaches a dynamic delay block, it stops normal measurement and
trigger model operation for the time set by the delay. Background measurements continue to be
made.
Each measure function can have up to five unique user delay times (M1 to M5). Each source function
can also have up to five unique user delay times (S1 to S5). The delay time is set by the user-delay
command, which is only available over a remote interface.
Though the trigger model can be used with any function, the user delay is set per function. Make sure
you are setting the delay for the function you intend to use with the trigger model.
Example
smu.measure.userdelay[1] = 5
trigger.model.setblock(1, trigger.BLOCK_SOURCE_OUTPUT, smu.ON)
trigger.model.setblock(2, trigger.BLOCK_DELAY_DYNAMIC, trigger.USER_DELAY_M1)
trigger.model.setblock(3, trigger.BLOCK_MEASURE)
trigger.model.setblock(4, trigger.BLOCK_SOURCE_OUTPUT, smu.OFF)
trigger.model.setblock(5, trigger.BLOCK_BRANCH_COUNTER, 10, 1)
trigger.model.initiate()
Set user delay for measure 1 to 5 s.
Set trigger block 1 to turn the source output on.
Set trigger block 2 to a dynamic delay that calls measure user delay 1.
Set trigger block 3 to make a measurement.
Set trigger block 4 to turn the source output off.
Set trigger block 5 to branch to block 1 ten times.
Start the trigger model.
Also see