LabVIEW Idea Exchange

About LabVIEW Idea Exchange

Have a LabVIEW Idea?

  1. Browse by label or search in the LabVIEW Idea Exchange to see if your idea has previously been submitted. If your idea exists be sure to vote for the idea by giving it kudos to indicate your approval!
  2. If your idea has not been submitted click Post New Idea to submit a product idea to the LabVIEW Idea Exchange. Be sure to submit a separate post for each idea.
  3. Watch as the community gives your idea kudos and adds their input.
  4. As NI R&D considers the idea, they will change the idea status.
  5. Give kudos to other ideas that you would like to see in a future version of LabVIEW!
Top Authors
cancel
Showing results for 
Search instead for 
Did you mean: 

Use the wiring tool to swap inputs or outputs which have been wired incorrectly

This is similar to the idea about moving items in the connector pane and is an extension of it for any input or output on the block diagram -

 

Often, you connect a wire to a wrong input or output. Today, fixing it requires wiring to the new location and manually deleting the old piece of wire. The only exception is two-input functions with both inputs already wired, where you have a keyboard shortcut for swapping the wires. 

 

A much more natural and general method would be this - if you use the wiring tool on a wire source or sink and then on another, the wires should be swapped (or if there's only one wire, it should be moved).

 

 

In this example I wired the 7 into the wrong input and I want to move it one input down, so I:

 

1. Click the top input. This "grabs" the wire, so to speak.

2. Click the bottom input. This moves the grabbed wire to that input.

 

Move Wire.gif

 


Message Edited by Support on 10-22-2009 01:25 PM

___________________
Try to take over the world!
15 Comments
Knight of NI

I would suggest to finetune this so we can only swap terminals of the same directionality. We should not be able to swap an input with an output, just input with input and output with output.


LabVIEW Champion Do more with less code and in less time
Knight of NI Knight of NI
Knight of NI

I think there's already some action associated with clicking a source followed by a sink with the wire tool selection, but for some reason I can't remember what that action is. Hmm.

 

 

 

 

Smiley Happy


___________________
Try to take over the world!
Knight of NI

> I think there's already some action associated with clicking a source followed by a sink with the wire tool selection, but for some reason I can't remember what that action is. Hmm. 

 

Since you would be creating a loop, it would cause the insertion of a feedback node.

 

(Which I think should NOT be the default behavior: It "fixes" potentially incorrect code by throwing even more potentially incorrect code at it. I can't remember a single instance where I wanted that behavior.)

Message Edited by altenbach on 07-22-2009 09:04 AM

LabVIEW Champion Do more with less code and in less time
Knight of NI Knight of NI
Knight of NI
Oh, I was thinking of clicking on the input on another node.

___________________
Try to take over the world!
Knight of NI
I like the idea. But I do think it could lead to problems where you accidentally change connections when you didn't mean to because of getting click happy in the vicinity of node.
Active Participant
One way to prevent accidental changes would be to require a modifer key - e.g. Ctrl.
Trusted Enthusiast

I have held back my vote for a long time because I didn't like the implementation. The action of clicking on the first terminal, then click on the second terminal just didn't jive. And remembering a key modifier is a turn-off. However, I like the concept.

 

What about this: instead of click-click, you click-and-drag the wire to the new location. Instead of clicking on the terminal, you grab the wire near the terminal and drag it to the new terminal.

 

Like a banana plug. Picture the old-time switchboard operators.

 

BananaPlugs.png

Wirebird Labs: Expert Toolkits for LabVIEWDeploy, by Wirebird Labs: Expert Toolkits for LabVIEW
Knight of NI Knight of NI
Knight of NI

Click and drag is an option, although in my experience forcing the user to drag is problematic, especially when using a touchpad. LV already has the behavior where clicking when the spool is the selected tool "tacks" the wire to the cursor, so I see no reason to change it. As Ravens mentions, twitchy fingers can cause this to be a danger, but I personally prefer it. Maybe an environment option?

 

And I'm pretty sure I don't like the concept of grabbing near the end of the wire. Clicking on any part of a wire which is not an endpoint already has an established behavior - it creates a new branch in the wire. Modifying that (even if it's only near the end) would seem to me to create confusion.


___________________
Try to take over the world!
Trusted Enthusiast

tst, good point. Clicking on a wire already has a defined function when using the Wiring Tool, splicing. It would need to be the Select Tool. Using that tool seems more natural anyway, since I normally use the Auto Tool.

 

Also, even though sometimes I am forced to use my touchpad sometimes, I still don't like the click-click method.

 

BananaPlugs2.png

Wirebird Labs: Expert Toolkits for LabVIEWDeploy, by Wirebird Labs: Expert Toolkits for LabVIEW
Knight of NI Knight of NI
Knight of NI

The select tool also has an established behavior when clicking on a wire (I will leave it to you to guess what that is Smiley Wink ).

 

I actually prefer the wiring tool, because I also use the auto-tool and hovering over a terminal will switch to that tool.

 

If you want an alternative tool, maybe the hand tool can be used. Since Ctrl is already used to switch to a secondary action, this could be defined as a secondary action for terminals, thus providing the modifier suggested earlier. Personally, as I said, I think I prefer the wiring tool.


___________________
Try to take over the world!