8: TSP command reference Model 2461 Interactive SourceMeter® Instrument
8-310 2461-901-01 A/November 2015
Details
If one or more trigger events were detected since the last time trigger.timer[N].wait() or
trigger.timer[N].clear() was called, this function returns immediately.
After waiting for a trigger with this function, the event detector is automatically reset and rearmed.
This is true regardless of the number of events detected.
Example
triggered = trigger.timer[3].wait(10)
print(triggered)
Waits up to 10 s for a trigger on timer 3.
If false is returned, no trigger was detected
during the 10 s timeout.
If true is returned, a trigger was detected.
Also see
trigger.timer[N].clear() (on page 8-301)
trigger.tsplinkin[N].clear()
This function clears the event detector for a LAN trigger.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
trigger.tsplinkin[N].clear()
The trigger line (1 to 3) to clear
Details
The trigger event detector enters the detected state when an event is detected. When this command
is sent, the instrument does the following actions:
• Clears the trigger event detector
• Discards the history of the trigger line
• Clears the trigger.tsplinkin[N].overrun attribute
Example
tsplink.MODE_TRIGGER_OPEN_DRAIN
trigger.tsplinkin[2].clear()
Clears the trigger event on TSP-
Link line 2.
Also see
trigger.tsplinkin[N].overrun (on page 8-311)
tsplink.line[N].mode (on page 8-319)