Page 1 of 1

zero at request and radiobutton

PostPosted: Wed Jun 03, 2015 12:50 pm
by Nubeat7
hi all, here i want share a little useful module called zero at request,

it is a small module which sets the output to the input value when this is changed, while it gives zero when it gets requested from outside (when it gets a reverse trigger)

this can be very useful if you have lots of sources (at different places) from where you need to get the last value,
instead of creating big 'last module' chains where you always need the specific source, you simply can add all sources to one connector and it will always show you the last changed value

in the example you can find a simple radiobutton selector which saves its state in the presets using this methode

hope you find it useful

Re: zero at request and radiobutton

PostPosted: Wed Jun 03, 2015 5:43 pm
by MyCo
Hehehe... that's clever, never thought about that.
Just a side note, have a look at this:
order.png
order.png (5.09 KiB) Viewed 22506 times

The connection order on that marked output is in my opinion wrong. Not sure why it works in spite of that.

Re: zero at request and radiobutton

PostPosted: Wed Jun 03, 2015 9:13 pm
by Nubeat7
you are right Myco should be xchanged, it also works without this first triggerblocker, i just placed it there to avoid a double trigger at the last input, thanks for spotting..

just reuploaded the schematic to fix this little thing

Re: zero at request and radiobutton

PostPosted: Tue Jun 16, 2015 4:00 pm
by Walter Sommerfeld
Awesome Rene...

Just implemented this in my actual project:

less links and even preset 'for free' :)

keep on doing!
Walter

Re: zero at request and radiobutton

PostPosted: Wed Jun 17, 2015 9:45 pm
by Nubeat7
great that you like it walter, good looking buttons! :)

it also works well without the presetparameter-primitive, if you need it to change views for example, where no presets are needed, just keep the wireless "set"-sender!

Re: zero at request and radiobutton

PostPosted: Thu Jun 18, 2015 6:01 pm
by Walter Sommerfeld
...thanks 4 the hint!

Glad u like the Butts ;-)

cheers

Re: zero at request and radiobutton

PostPosted: Thu Jun 18, 2015 11:45 pm
by Tronic
the magic of trig order :)

Re: zero at request and radiobutton

PostPosted: Fri Jun 19, 2015 7:51 pm
by Nubeat7
Tronic wrote:the magic of trig order :)


hehe, and the lovely "reverse triggers" :)

which is btw. is tricky when you don't use the presetparameter primitive, then you need a sample and hold before you use the output, because if any reverse trigger happens you get zero!

as the name of the module says :)