
Model 2450 Interactive SourceMeter® Instrument Reference Manual
Section 8: TSP command reference
2450-901-01 Rev. B/September 2013
8-223
trigger.timer[N].start.stimulus
This attribute describes the event that starts the trigger timer.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Attribute (RW) Yes
Restore configuration
Instrument reset
Power cycle
Configuration script
trigger.EVENT_NONE
Usage
event
= trigger.timer[
N
].start.stimulus
trigger.timer[
N
].start.stimulus =
event
event
The event that starts the trigger timer
N
Trigger timer number (1 to 4)
Details
Set this attribute any trigger event to start the timer when that event occurs.
Set this attribute to zero (0) to disable event processing and use the timer as a timer or alarm based on the start
time.
Trigger events are described in the table below.
Trigger events
Event description
Event constant
No trigger event
trigger.EVENT_NONE
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 occurred:
•
Any remote interface: *
TRG
•
GPIB only: GET bus command
•
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
Example
digio.line[3].mode = digio.MODE_TRIGGER_IN
trigger.timer[1].delay = 3e-3
trigger.timer[1].start.stimulus = trigger.EVENT_DIGIO3
Set digital I/O line 3 to be a
trigger input.
Set timer 1 to delay for 3 ms.
Set timer 1 to start the timer
when an event is detected on
digital I/O line 3
Also see
None