sigrokproject / pulseview

Read-only mirror of the official repo at git://sigrok.org/pulseview. Pull requests welcome. Please file bugreports at sigrok.org/bugzilla.
http://sigrok.org/wiki/PulseView
GNU General Public License v3.0
488 stars 156 forks source link

Repeat retriggering #38

Open ivanwick opened 3 years ago

ivanwick commented 3 years ago

Continues work by @Cenkron to add a repeating retrigger mode to PulseView capture sessions. The user can enable repeat mode and set a time delay between when each capture segment completes and the next one is starts. Screenshot from 2021-03-07 00-11-44 In the prior email exchange, some changes were requested to better fit the UI and architecture: https://sourceforge.net/p/sigrok/mailman/sigrok-devel/thread/cdf7c54b-c509-9162-34fb-2709f5756437%40BrianAndChristine.com/

Following these suggestions, this PR moves the retrigger timer into the session state and uses the existing feature to display segments from a repetitive capture on the same time scale.

Some draft icons are also added for new UI:

Open questions

tony1tf commented 2 years ago

If you are still accepting ideas, I would like an ability to repeat scans until a trigger signal stops. Then display with the normal pretrigger percentage. A sort of 'watchdog'.