zero at request and radiobutton

Post any examples or modules that you want to share here
Post Reply
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

zero at request and radiobutton

Post 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
Attachments
zero at request and Radiobutton.fsm
(21.93 KiB) Downloaded 1283 times
Last edited by Nubeat7 on Wed Jun 03, 2015 9:13 pm, edited 1 time in total.
User avatar
MyCo
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany
Contact:

Re: zero at request and radiobutton

Post 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 25642 times

The connection order on that marked output is in my opinion wrong. Not sure why it works in spite of that.
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: zero at request and radiobutton

Post 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
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: zero at request and radiobutton

Post by Walter Sommerfeld »

Awesome Rene...

Just implemented this in my actual project:

less links and even preset 'for free' :)

keep on doing!
Walter
Attachments
Radio Buttons & 0 at request by nubeat7_s.jpg
Radio Buttons & 0 at request by nubeat7_s.jpg (1.5 KiB) Viewed 25586 times
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: zero at request and radiobutton

Post 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!
User avatar
Walter Sommerfeld
Posts: 250
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany
Contact:

Re: zero at request and radiobutton

Post by Walter Sommerfeld »

...thanks 4 the hint!

Glad u like the Butts ;-)

cheers
Tronic
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: zero at request and radiobutton

Post by Tronic »

the magic of trig order :)
User avatar
Nubeat7
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna
Contact:

Re: zero at request and radiobutton

Post 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 :)
Post Reply