Section 7: TSP command reference
2606B System SourceMeter® Instrument Reference Manual
7-346
2606B-901-01 Rev. B / May 2018
trigger.EVENT_ID
This constant contains the command interface trigger event number.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Constant
Yes
Usage
eventID
= trigger.EVENT_ID
eventID
The event ID for the command interface triggers
Details
You can set the stimulus of any trigger object to the value of this constant to have the trigger object
respond to command interface trigger events.
Example
trigger.timer[1].stimulus = trigger.EVENT_ID
Sets the trigger stimulus of trigger
timer 1 to the command interface
trigger event.
Also see
None
trigger.generator[N].assert()
This function generates a trigger event.
Type
TSP-Link accessible
Affected by
Where saved
Default value
Function
Yes
Usage
trigger.generator[
N
].assert()
N
The generator number (1 or 2)
Details
Use this function to directly trigger events from the command interface or a script (for example, you
can trigger a sweep while the instrument is under script control).
Example
trigger.generator[2].assert()
Generates a trigger event on generator 2.
Also see
(on page 7-347)