High Voltage SourceMeter Instrument Reference Manual Section 14:
2470-901-01 Rev. A / May 2019 14-261
trigger.timer[N].wait()
This function waits for a trigger.
Type TSP-Link accessible
Affected by Where saved Default value
Usage
triggered = trigger.timer[N].wait(timeout)
Trigger detection indication
Trigger timer number (1 to 4)
Maximum amount of time in seconds to wait for the trigger
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
is returned, a trigger was detected.
Also see
trigger.timer[N].clear() (on page 14-251)
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