Support

If you have a problem or need to report a bug please email : support@dsprobotics.com

There are 3 sections to this support area:

DOWNLOADS: access to product manuals, support files and drivers

HELP & INFORMATION: tutorials and example files for learning or finding pre-made modules for your projects

USER FORUMS: meet with other users and exchange ideas, you can also get help and assistance here

zero at request and radiobutton

Post any examples or modules that you want to share here

zero at request and radiobutton

Postby Nubeat7 » Wed Jun 03, 2015 12:50 pm

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 680 times
Last edited by Nubeat7 on Wed Jun 03, 2015 9:13 pm, edited 1 time in total.
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: zero at request and radiobutton

Postby MyCo » Wed Jun 03, 2015 5:43 pm

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 15073 times

The connection order on that marked output is in my opinion wrong. Not sure why it works in spite of that.
User avatar
MyCo
 
Posts: 718
Joined: Tue Jul 13, 2010 12:33 pm
Location: Germany

Re: zero at request and radiobutton

Postby Nubeat7 » Wed Jun 03, 2015 9:13 pm

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
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: zero at request and radiobutton

Postby Walter Sommerfeld » Tue Jun 16, 2015 4:00 pm

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

Re: zero at request and radiobutton

Postby Nubeat7 » Wed Jun 17, 2015 9:45 pm

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
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna

Re: zero at request and radiobutton

Postby Walter Sommerfeld » Thu Jun 18, 2015 6:01 pm

...thanks 4 the hint!

Glad u like the Butts ;-)

cheers
User avatar
Walter Sommerfeld
 
Posts: 243
Joined: Wed Jul 14, 2010 6:00 pm
Location: HH - Made in Germany

Re: zero at request and radiobutton

Postby Tronic » Thu Jun 18, 2015 11:45 pm

the magic of trig order :)
Tronic
 
Posts: 539
Joined: Wed Dec 21, 2011 12:59 pm

Re: zero at request and radiobutton

Postby Nubeat7 » Fri Jun 19, 2015 7:51 pm

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 :)
User avatar
Nubeat7
 
Posts: 1347
Joined: Sat Apr 14, 2012 9:59 am
Location: Vienna


Return to User Examples

Who is online

Users browsing this forum: No registered users and 6 guests