Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 3: Functions and features
2657A-901-01 Rev. B/December 2012
3-45
The following figure shows the trigger setup for this example.
Figure 47: Single pulse triggering
Single pulse example code
-- Generate a single 50 ms, 100 V pulse.
-- Configure a single-point voltage list sweep.
smua.trigger.source.listv({100})
smua.trigger.source.action = smua.ENABLE
smua.trigger.measure.action = smua.DISABLE
-- Configure other source parameters for best timing possible.
smua.trigger.source.limiti = 0.1
smua.source.rangev = 200
-- Configure timer parameters to output a single 50 ms pulse.
trigger.timer[1].delay = 50e-03
trigger.timer[1].count = 1
trigger.timer[1].passthrough = false
-- Trigger timer when the SMU passes through the ARM layer.
trigger.timer[1].stimulus = smua.trigger.ARMED_EVENT_ID
-- Configure source action to start immediately.
smua.trigger.source.stimulus = 0
-- Configure endpulse action to achieve a pulse.
smua.trigger.endpulse.action = smua.SOURCE_IDLE
smua.trigger.endpulse.stimulus = trigger.timer[1].EVENT_ID
-- Set appropriate counts of trigger model.
smua.trigger.count = 1
smua.trigger.arm.count = 1
-- Turn on output and trigger SMU to output a single pulse.
smua.source.output = smua.OUTPUT_ON
smua.trigger.initiate()
-- Wait for the sweep to complete.
waitcomplete()
Stimulus input:
trigger.timer[1].stimulus
SMU A
Timer
#1
Trigger event:
smua.trigger.ARMED_EVENT_ID
Trigger event:
trigger.timer[1].EVENT_ID
Stimulus input:
smua.trigger.endpulse.stimulus
Legend:
= Trigger object
= Trigger events
= Stimulus input
Summary of Contents for 2657A
Page 3: ......