LabVIEW Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
tst

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

Status: New

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
Ray.R
Knight of NI

How about using a different key or a combination thereof, such as the Alt key plus wiring tool, or Ctrl-Alt + wiring tool.  Click once and it picks the wire from the source terminal.  Go to the terminal you want the wire to move to and click it to drop the wire.

 

This is a great idea.  Kudos!

Ironman99
Member

Oops... posted by mistake in the wrong place. Please forget about this comment, and delete it.

Terry_ALE
Active Participant

Someone mentioned this in a LabVIEW Core 1 class I am teaching this week.  Just voted it up and would like it done any way that is being recommended.  Visio does this and so do other programs.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
Manzolli
Active Participant

How about using the same mechanism existing for the VI's connector pane?

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
wiebe@CARYA
Knight of NI

@tst wrote:

 

How about using the same mechanism existing for the VI's connector pane?

Absolutely. That would be great.

 

When editing the CP of a VI you can select, and then use CTRL select to move or swap. It always puzzled me why this could not be done with a subVI (when showing it's connectors).