Keithley 2450 Reference Manual page 256

Interactive sourcemeter instrument
Table of Contents

Advertisement

Model 2450 Interactive SourceMeter® Instrument Reference Manual
Trigger events
Event description
No trigger event
Trigger timer N (1 to 4) expired
Source limit condition occurs
Using the TRIGGER key to generate an event
You can use the front-panel TRIGGER key to generate a trigger event.
To set a trigger block to respond to the front-panel key press, in SCPI, set the event to DISPlay. In
TSP, set the event to trigger.EVENT_DISPLAY.
For example, if you set a wait block to advance when the TRIGGER key is pressed, the trigger model
will reach the wait block. If the TRIGGER key has already been pressed, the trigger model execution
will continue. If the TRIGGER key has not been pressed, the trigger model execution is halted until
the TRIGGER key is pressed.
There are no action overruns for front-panel TRIGGER key events.
Using the notify block event
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.
When the trigger model executes a notify block, the instrument generates the SCPI event
NOTify<n> or TSP event trigger.EVENT_NOTIFYN. You can assign this event to a command that
takes an event. There can be up to eight notify blocks in a trigger model.
For example, if you want a Notify block to trigger a digital I/O line, insert a Notify block into the trigger
model, assign it a notify event and then connect it to the stimulus of the digital I/O line to drive.
For example, to set notify block 5 to be a stimulus for digital output line 2, you would send the
following commands in SCPI:
TRIG:BLOC:NOT 5, 2
:TRIG:DIG3:OUT:STIMulus NOTify2
In TSP, you would send the commands:
trigger.model.setblock(5, trigger.BLOCK_NOTIFY, trigger.EVENT_NOTIFY2)
trigger.digout[3].stimulus = trigger.EVENT_NOTIFY2
2450-901-01 Rev. B/September 2013
Event constant
trigger.EVENT_NONE
trigger.EVENT_TIMERN
trigger.EVENT_SOURCE_LIMIT
Section 3: Functions and features
3-111

Advertisement

Table of Contents
loading

Table of Contents