Section 8: TSP command reference
Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
8-316
DMM7510-901-01 Rev. B / May 2015
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
n
The number of the user delay, 1 to 5, set by
dmm.measure.userdelay[
N
]
or
dmm.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 and digitize function can have up to 5 unique user delay times (M1 to M5). 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. The measure
user-delay settings are used with measure functions; the digitize user-delay functions are used with
digitize functions.
Example
dmm.measure.userdelay[1] = 5
trigger.model.setblock(1, trigger.BLOCK_DELAY_DYNAMIC, trigger.USER_DELAY_M1)
trigger.model.setblock(2, trigger.BLOCK_MEASURE)
trigger.model.setblock(3, trigger.BLOCK_BRANCH_COUNTER, 10, 1)
trigger.model.initiate()
Set user delay 1 for measurements to 5 s.
Set trigger block 1 to a dynamic delay that calls user delay 1.
Set trigger block 2 to make a measurement.
Set trigger block 3 to branch to block 1 ten times.
Start the trigger model.
Also see
(on page 8-199)