Trigger.model.setblock() — Trigger.block_Notify - Keithley 2450 Reference Manual

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
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
Function
Yes
Usage
trigger.model.setblock(blockNumber, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFYN)
blockNumber
N
Details
When the trigger model reaches a notify block, the instrument generates a trigger event and immediately
continues to the next block.
You can define up to eight notify blocks in a trigger model. You can reference the event that the notify block
generates by other commands to assign 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
Notify building block
2450-901-01 Rev. B/September 2013
Affected by
Restore configuration
Instrument reset
Power cycle
The sequence of the block in the trigger model
The notify event that is generated (1 to 8)
(on page 3-97)
Section 8: TSP command reference
Where saved
Default value
Configuration script Not applicable
8-211

Advertisement

Table of Contents
loading

Table of Contents