Section 14: TSP command reference
2470 High Voltage SourceMeter Instrument Reference Manual
14-196
2470-901-01 Rev. A /
May
2019
The
event
parameter may be any of the trigger events shown in the following table.
Trigger events
Event description
Event constant
Trigger event blender
N
(1 to 2), which combines trigger
events
trigger.EVENT_BLENDER
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
Digital input 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
Front-panel TRIGGER key press
trigger.EVENT_DISPLAY
Appropriate LXI trigger packet is received on LAN trigger
object
N
(1 to 8)
trigger.EVENT_LAN
N
No trigger event
trigger.EVENT_NONE
Notify trigger block
N
(1 to 8) generates a trigger event when
the trigger model executes it
trigger.EVENT_NOTIFY
N
Source limit condition occurs
trigger.EVENT_SOURCE_LIMIT
Trigger timer
N
(1 to 4) expired
trigger.EVENT_TIMER
N
Line edge detected on TSP-Link synchronization line
N
(1 to 3)
trigger.EVENT_TSPLINK
N
Example
digio.line[3].mode = digio.MODE_TRIGGER_IN
digio.line[5].mode = digio.MODE_TRIGGER_IN
trigger.digin[3].edge = trigger.EDGE_FALLING
trigger.digin[5].edge = trigger.EDGE_FALLING
trigger.blender[1].orenable = true
trigger.blender[1].stimulus[1] = trigger.EVENT_DIGIO3
trigger.blender[1].stimulus[2] = trigger.EVENT_DIGIO5
Generate a trigger blender 1 event when a digital I/O trigger happens on line 3 or 5.
Also see
(on page 14-194)