Section 7: TSP command reference Model 2657A High Power System SourceMeter® Instrument Reference Manual
7-336 2657A-901-01 Rev. B/December 2012
trigger.clear()
This function clears the command interface trigger event detector.
Type TSP-Link accessible
Affected by Where saved Default value
Function No
Usage
trigger.clear()
Details
The trigger event detector indicates if a trigger event has been detected since the last trigger.wait() call.
trigger.clear() clears the trigger event detector and discards the history of command interface trigger
events.
Also see
trigger.wait() (on page 7-343)
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