
Section 8: TSP command reference
Model 2461 Interactive SourceMeter® Instrument Reference Manual
8-288
2461-901-01 A/November 2015
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
trigger.model.setblock() — trigger.BLOCK_DELAY_DYNAMIC
This function adds a 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
]
•
trigger.USER_DELAY_M
n
, where
n
is the number of the user
delay (1 to 5) set by
smu.digitize.userdelay[N]
Details
When trigger model execution reaches a dynamic delay block, it stops normal measurement and
trigger model operation for the amount of time set by the delay. Background measurements continue
to be made.
Each measure function can have up to 5 unique user delay times (M1 to M5). Digitize user delays are
handled as measure user delays, so you can have a total of 5 measure and digitize user delays. Each
source function can also have up to 5 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.