8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-294 2461-901-01 A/November 2015
trigger.model.setblock() — trigger.BLOCK_NOP
This function creates a placeholder that performs no action in the trigger model; available only using remote
commands.
Type TSP-Link accessible Affected by Where saved Default value
Function Yes
Restore configuration
Instrument reset
Configuration script Not applicable
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_NOP)
The sequence of the block in the trigger model
Details
If you remove a trigger model block, you can use this block as a placeholder for the block number so
that you do not need to renumber the other blocks.
Example
trigger.model.setblock(4, trigger.BLOCK_NOP)
Set block number 4 to be a no operation
block.
Also see
None
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
Configuration script Not applicable
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFYN)
The sequence of the block in the trigger model
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.