[sigrok-devel] Software re-triggering of logic channels

2018-04-10 Thread Žiga Stegu
Hello everyone, Had a need to implement software re-triggering on specified trigger conditions. As a learning experience I modified hardware/demo to support only logic channels (simplification) and ported soft-trigger functionality used in hardware/saleae-logic16

Re: [sigrok-devel] Software re-triggering of logic channels

2018-04-10 Thread Žiga Stegu
ftware re-triggering on specified trigger > conditions"? > > -Soeren > > > > > On 2018-04-10 09:04, Žiga Stegu wrote: > > > Hello everyone, > > > > Had a need to implement software re-triggering on specified trigger > > conditions. > > > &

Re: [sigrok-devel] Software re-triggering of logic channels

2018-04-12 Thread Žiga Stegu
.php?pic=i1ie6p=9 Should I make a subfunction to soft_trigger_logic_check() that would only return multiple trigger offsets and would take holdoff into consideration (in number of samples)? -Ziga On Tue, 10 Apr 2018 at 20:32 Žiga Stegu <steg...@gmail.com> wrote: > Hello Soeren, > &

Re: [sigrok-devel] Software re-triggering of logic channels

2018-04-14 Thread Žiga Stegu
/2iid92s.jpg Where to add a user defined setting to Pulseview for holdoff (minimal number of samples before checking for trigger again). Thank you! -Ziga On Thu, 12 Apr 2018 at 15:08 Žiga Stegu <steg...@gmail.com> wrote: > Hello, > > I have changed soft-trigger module slightly as

Re: [sigrok-devel] Software re-triggering of logic channels

2018-04-16 Thread Žiga Stegu
Not pretty, but works roughly as expected: https://www.youtube.com/watch?v=zRfP02MrQAY Currently using View::set_offset() directly. No consideration of at least holdoff samples. _bool Repeat trigger is not used in libsigrok currently. -Ziga On Mon, 16 Apr 2018 at 15:35 Žiga Stegu <s