
Model 2657A High Power System SourceMeter® Instrument Reference Manual
Section 7: TSP command reference
2657A-901-01 Rev. B/December 2012
7-133
Usage
triggerStimulus
= lan.trigger[
N
].stimulus
lan.trigger[
N
].stimulus =
triggerStimulus
triggerStimulus
The LAN event identifier used to trigger the event
N
A number specifying the trigger packet over the LAN for which to set or query
the trigger source (1 to 8)
Details
This attribute specifies which event causes a LAN trigger packet to be sent for this trigger. Set
triggerStimulus
to one of the existing trigger event IDs, which are shown in the following table.
Trigger event IDs*
Event ID
Event description
smua.trigger.SWEEPING_EVENT_ID
Occurs when the source-measure unit (SMU)
transitions from the idle state to the arm layer of the
trigger model
smua.trigger.ARMED_EVENT_ID
Occurs when the SMU moves from the arm layer to
the trigger layer of the trigger model
smua.trigger.SOURCE_COMPLETE_EVENT_ID
Occurs when the SMU completes a source action
smua.trigger.MEASURE_COMPLETE_EVENT_ID
Occurs when the SMU completes a measurement
action
smua.trigger.PULSE_COMPLETE_EVENT_ID
Occurs when the SMU completes a pulse
smua.trigger.SWEEP_COMPLETE_EVENT_ID
Occurs when the SMU completes a sweep
smua.trigger.IDLE_EVENT_ID
Occurs when the SMU returns to the idle state
digio.trigger[
N
].EVENT_ID
Occurs when an edge is detected on a digital I/O line
tsplink.trigger[
N
].EVENT_ID
Occurs when an edge is detected on a TSP-Link line
lan.trigger[
N
].EVENT_ID
Occurs when the appropriate LXI trigger packet is
received on LAN trigger object
N
display.trigger.EVENT_ID
Occurs when the TRIG key on the front panel is
pressed
trigger.EVENT_ID
Occurs when a *TRG command is received on the
remote interface
GPIB only: Occurs when a GET bus command is
received
VXI-11 only: Occurs with the VXI-11 command
device_trigger
; reference the VXI-11 standard
for additional details on the device trigger operation
trigger.blender[
N
].EVENT_ID
Occurs after a collection of events is detected
trigger.timer[
N
].EVENT_ID
Occurs when a delay expires
* Use the name of the trigger event ID to set the stimulus value rather than the numeric value. Using the name
makes the code compatible for future upgrades (for example, if the numeric values must change when
enhancements are added to the instrument).
Setting this attribute to zero disables automatic trigger generation.
If any events are detected prior to calling
lan.trigger[
N
].connect()
, the event is ignored and the action
overrun is set.
Example
lan.trigger[5].stimulus = trigger.timer[1].EVENT_ID
Use timer 1 trigger event as
the source for LAN packet 5
trigger stimulus.
Summary of Contents for 2657A
Page 3: ......