Model DMM7510 7½ Digit Graphical Sampling Multimeter Reference Manual
Section 8: TSP command reference
DMM7510-901-01 Rev. B / May 2015
8-323
trigger.model.setblock() — trigger.BLOCK_NOTIFY
This function defines a trigger model block that generates a trigger event and immediately continues to the next
block.
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_NOTIFY, trigger.EVENT_NOTIFY
N
)
blockNumber
The sequence of the block in the trigger model
N
The identification number of the notification; 1 to 8
Details
When trigger model execution reaches a notify block, the instrument generates a trigger event and
immediately continues to the next block.
Other commands can reference the event that the notify block generates. This assigns a stimulus
somewhere else in the system. For example, you can use the notify event as the stimulus of a
hardware trigger line, such as a digital I/O line.
Example
digio.line[3].mode = digio.MODE_TRIGGER_OUT
trigger.model.setblock(5, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY2)
trigger.digout[3].stimulus = trigger.EVENT_NOTIFY2
Define trigger model block 5 to be the notify 2 event. Assign the notify 2 event to be the stimulus for digital
output line 3.
Also see
(on page 3-83)