Section 3: Functions and features
2606B System SourceMeter® Instrument Reference Manual
3-42
2606B-901-01 Rev. B / May 2018
Triggering a timer
A timer can be configured to start a delay when a trigger object generates a trigger event. Timers
cannot be started with a command. A trigger event from a trigger object must be used to initiate a
delay.
Assigning the stimulus attribute
Assign an event ID to the
trigger.timer[
N
].stimulus
attribute to configure the timer to start a
delay when a specific trigger event occurs. The programming example below illustrates how to
configure a source-delay-measure (SDM) cycle.
-- Configure the timer to begin when source action completes.
trigger.timer[1].stimulus = smua.trigger.SOURCE_COMPLETE_EVENT_ID
-- SMUA delay before a measurement begins.
smua.trigger.measure.stimulus = trigger.timer[1].EVENT_ID
Figure 55: Using a timer for an SDM cycle
Timer action overruns
The timer receives an action overrun when it generates a trigger event while a timer delay is still in
progress. Use the status model to monitor for the occurrence of action overruns. For details, see the
(on page 5-12, on page E-1).
Using timers to perform pulse mode sweeps
Timers can also be used to control the pulse width during a pulsed sweep. To create a pulse train, a
second timer must be used to configure the pulse period. The examples below show a single pulse
output and a pulse train output.
The SMU end pulse action
smu
X
.trigger.endpulse.action
must be set to
smu
X
.SOURCE_IDLE
in order to create a pulse.