2470 High Voltage SourceMeter Instrument Reference Manual
Section 14: TSP command reference
2470-901-01 Rev. A /
May
2019
14-223
The following table lists the options that are available for
triggerEvent
.
Trigger events
Event description
Event constant
Front-panel TRIGGER key press
trigger.EVENT_DISPLAY
Notify trigger block
N
(1 to 8) generates a trigger event when
the trigger model executes it
trigger.EVENT_NOTIFY
N
A command interface trigger:
Any remote interface: *
TRG
GPIB only: GET bus command
USB only: A USBTMC TRIGGER message
VXI-11: VXI-11 command
device_trigger
trigger.EVENT_COMMAND
Line edge (either rising, falling, or either based on the
configuration of the line) detected on digital input line
N
(1 to 6)
trigger.EVENT_DIGIO
N
Line edge detected on TSP-Link synchronization line
N
(1 to 3)
trigger.EVENT_TSPLINK
N
Appropriate LXI trigger packet is received on LAN trigger
object
N
(1 to 8)
trigger.EVENT_LAN
N
Trigger event blender
N
(1 to 2), which combines trigger
events
trigger.EVENT_BLENDER
N
Trigger timer
N
(1 to 4) expired
trigger.EVENT_TIMER
N
Source limit condition occurs
trigger.EVENT_SOURCE_LIMIT
After selecting a trigger model template, you can view the trigger model blocks in a graphical format
by pressing the front-panel
MENU
key and under Trigger, selecting
Configure
. You can also add or
delete blocks and change trigger model settings from this screen. You can use the
trigger.model.getblocklist()
command to view the trigger model blocks in a list format.
Example
reset()
-- Set up measure function
smu.measure.func = smu.FUNC_DC_CURRENT
-- Initiate readings
trigger.model.load("LoopUntilEvent", trigger.EVENT_DISPLAY, 50)
trigger.model.initiate()
Reset the instrument.
Set the instrument to measure current.
Load the LoopUntilEvent trigger model to make measurements until the front panel trigger key is pressed, then
continue to make measurements equal to 50% of the reading buffer size.
Start the trigger model.
Also see
None