When using Block diagram constants wired to Sub VI's, some times we prefer them to be placed exactly below or above the sub VI when they are connected to the bottom and top terminals respectively. This is just to compress the code, so that block diagram looks neat.
When using LabVIEW Code Cleanup
Prefered - would make code cleaner
For this it will be great if we have terminals for constants from top and bottom also. So every constant will have three terminals top,bottom and the ususal one to the right. When user wires to any one of this terminal the other two can become disabled, this will make sure user connects only one wire to the constant. I guess people wont prefer left terminal.
So our new constants will look like this:
At any time only one of these terminal will be active like this:
Hope I'm not duplicating ideas already in this forums (couldn't get to read all the ideas)
Good idea. I also don't like when you clean up an individual wire connected to a constant, and it snakes around the constant making a S shape or something silly because the "hot spot" is on the right side only. This would fix that.
Personally, I absolutely hate it when wires run from the top and bottom of a constant. Luckily I don't use diagram cleanup at all, so this won't affect me
So I give kudos anyway, because I'm sure others would like this idea.
This is really helpful!!
I have been tired many times cleaning up of such constants wiring.
I like it...it makes code lot cleaner .........
Good Idea lordsathish
What if this was an option under the "Block Diagram Cleanup" section of the options dialog? (Honestly, diagram cleanup could use more options in my humble opinion. To me it seems like a wild beast that's difficult to harness and has a mind of its own.)
To quote dthor, with whom I agree wholeheartedly, (emphasis mine)
"Personally, I absolutely hate it when wires run from the top and bottom of a constant. Luckily I don't use diagram cleanup at all, so this won't affect me "
Admittedly, I am a style snob and when it comes to hiding wire bends behind objects I'm a purist.
But hey, even if you completely disagree with my style choices, my point is that the user should have a choice rather than being forced by majority rule.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.