I love the built in switch-a-roo tool on block diagram objects. Basically the rules is if you have an object on the block diagram with two inputs, and they are both wired, by holding CTRL and clicking on one of these terminals, the inputs will be switched. This is great for things like subtraction, or division when you get the inputs backwards. This feature also works on the select function swapping the T and F inputs.
But what this idea is about, is to swap two inputs in the same way it currently does, if you only have two inputs wired, but the function has more than two inputs.
There are times when I have two things wired to a subVI and that sub VI and I want to swap the wired inputs, but the function may have other optional inputs that are rarely used. Because the function doesn't have exactly two inputs, the switch-a-roo tool won't work. Or maybe it has other inputs that I just haven't wired yet (like error) but the two inputs that are wired need to be swapped.
Unofficial Forum Rules and Guidelines
Get going with G! - LabVIEW Wiki.
16 Part Blog on Automotive CAN bus. - Hooovahh - LabVIEW Overlord
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Duplicate of http://forums.ni.com/t5/LabVIEW-Idea-Exchange/Use-the-wiring-tool-to-swap-inputs-or-outputs-which-ha...