deleted by uploader

Post any examples or modules that you want to share here
Post Reply
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

deleted by uploader

Post by tiffy »

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:58 pm, edited 1 time in total.
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

deleted by uploader

Post by tiffy »

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:58 pm, edited 1 time in total.
User avatar
JB_AU
Posts: 171
Joined: Tue May 21, 2013 11:01 pm

Re: Switching Target On/Off from Different Locations

Post by JB_AU »

Unsure if this is what you mean o.O

Switching a Target ON-OFF from Different Locations.fsm
(33.97 KiB) Downloaded 1146 times
"Two things are infinite: the universe and human stupidity; and I'm not sure about the the universe."

Albert Einstein
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

deleted by uploader

Post by tiffy »

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:58 pm, edited 1 time in total.
User avatar
trogluddite
Posts: 1730
Joined: Fri Oct 22, 2010 12:46 am
Location: Yorkshire, UK

Re: Switching Target On/Off from Different Locations

Post by trogluddite »

Maybe I misunderstand the intent, but surely it's simpler to just send wireless triggers to a common toggle?

tiffy wrote:a better method than the "Tick 25 primitive" I used to allow signal flow to pass through the Multiplexer/Selector combination ??

The trouble with multiplexers is this - when you change the index, only the newly selected output sends a trigger - the unselected ones don't, and so the 'old' output doesn't update its value - unless a trigger from somewhere else forces it to. It might seem odd, but your ticker isn't actually doing anything much to the Selector - it's really causing the Multiplexer to be 'asked' for its correct output value (often described as an 'invisible backwards trigger'!).

In the schematic above, you can see one way to try and overcome this (there are others depending on the application).
The key here is the order that you make links from the index selection, so that a reset value gets sent to the current selection, then the selection changes, then the new value is triggered.
Although it is quite a bit more complex, it is much better for performance - unless they get blocked somehow, the triggers from the 'tick 25' will find their way along links and all over the following parts of the schematic, which can cause unintended effects, and will suck CPU (especially if they cause screen redraws).

Another way would be to extract the trigger from the selection and just send it to all of the outputs to update them all (NB - a module with only a Trigger in -> Trigger out is one of the most useful ever - use it to grab only the triggers from any kind of 'green' link).

However you do it, you can often improve things with a few "changed" primitives to clean up any extra triggers that aren't really needed.
All schematics/modules I post are free for all to use - but a credit is always polite!
Don't stagnate, mutate to create!
User avatar
tiffy
Posts: 400
Joined: Wed May 08, 2013 12:14 pm

deleted by uploader

Post by tiffy »

deleted
Last edited by tiffy on Mon Aug 24, 2015 7:59 pm, edited 1 time in total.
KG_is_back
Posts: 1196
Joined: Tue Oct 22, 2013 5:43 pm
Location: Slovakia

Re: Switching Target On/Off from Different Locations

Post by KG_is_back »

Here is a simple way to have one Boolean output controlled from various sources (on/off switches) which are synced. Turning on/off one led updates all the others. You may put preset manager into the master switch module or any of the LEDs and it should work just fine.
Attachments
Remote_grouped_on_off.fsm
(26.29 KiB) Downloaded 1159 times
Post Reply