04-01-2010 08:45 AM
Hello All
I know that you should keep the use of local variables to a minimum to avoid race conditions. Is this the same problem if using property node from eg. a numeric control?
The reason I want to do this is to keep wires from crossing when I need to use a control from one side of the diagram in the other side of the diagram..
Basically to make the diagram simple and nice to look at.
Hope this makes sense!
Have a nice day!
Kind regards
Tommy
Solved! Go to Solution.
04-01-2010 08:49 AM
Tombech84 wrote:
[...]Is this the same problem if using property node from eg. a numeric control?[...]
Exactly. It also possibly creates race conditions and should not be used. Using wires to connect the terminals is the only "save" approach.
Additionally, the performance decreases by the following order:
- terminal (+)
- variable (0)
- property node set to value (-)
Norbert
04-01-2010 08:57 AM
Thats why I love this forum; posted the question and 4 minutes later the answer is here:o)
Awesome!
Thanks for the very quick response Norbert!
Have a nice day!
Regards
Tommy
04-01-2010 09:18 AM
04-01-2010 09:25 AM
Hello
Well the code isn't bad at all, I just wanted to avoid crossing lines in general I think it is ugly 🙂
The reason I asked was just to avoid one line crossing 5 others, so thats all!
But i appreciate the suggestion!
Regards
Tommy