LabVIEW Idea Exchange

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

broken wires - hotkey to remove only broken wires with no connection

Status: New

I'd like a new hotkey to remove only broken wires with no connections instead of all broken wires. 

 Example:

Using State machine with several shift registers.  Now I decide to move a shift register variable into a cluster or something.  I delete the shift register and tunnels.  I now have lots of broken wires but I only want to remove the ones that have been wired 'through' with no connections.  If the others remain so I know that I should handle them.

 

Thanks.

Brian

3 Comments
RavensFan
Knight of NI
Can you give a picture clarifying which type of wires you mean in each case?  I'm guessing that if you remove a node, you want to be able to clean up any loose ends.  But if you have wires that are broken for other reasons such as improper datatypes, you want them to remain so that you can handle them one by one.  Is that an accurate description?
BrianKincaid
Member

Okay, here's the visual representation of what I'm trying to suggest.  You have a state-machine style program as shown (it's simple for illustration purposes).

request1.PNG

 I've decided that I do not want to use the shift-register anymore, perhaps I moved it into a cluster or something.  I deleted the shift register and tunnels while viewing another case.

request2.PNG

Now I use the CTRL+B to clean up the broken wires.  In a much more complicated test setting where default values are allowed I would not know that I just changed the function of my code as shown 

request4.PNG

The 'smart CTRL+B' that I am proposing would leave the program looking like this.

It blows away wires with no connections, but keeps wires that have any connection to blocks. 

request5.PNGrequest6.PNG

Thanks for responding.

 

Brian

Darren
Proven Zealot

This would be a pretty easy Quick Drop Keyboard Shortcut to write in LabVIEW 2009.

 

-D