1

Automation API - Set a timeout when looking for trigger


Avatar
Tim

(Original request in ticket 77203) Implement a way to call wait() with a timeout, or set a timeout trigger in addition to the digital trigger.

That way, a trigger-mode capture can stop if a certain amount of time has passed by.

Workaround (Untested): Call the stop() function from within a separate timer thread. Perhaps something like shown in the image attached.


A

Activity Newest / Oldest

Avatar

Tim

github.com/saleae/logic2-automation/issues/19
"1. Add a facultative max_wait_seconds argument to the wait() function to set a max wait time, after which the capture would be stopped

2. Add a method to query for the capture status (is it still running or has it completed)"


  • A