LabVIEW Idea Exchange

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

Remove ONLY broken wires in visible cases/sequences/structures

Status: New

I would like to remove all broken wires that are currently visible, and not ones hidden in other cases.

I want to be able to select a case, review the broken wires, and mass delete (if applicable).   Then select the next case for review.

I never use ctrl-B when working on a large application.  I want to review all broken wires before deleting.. but I hate trying to double or triple-click each wire.

 

Something similar to this post: broken wires    ...which notes that it can be accomplished with Quick Drop scripting... 

5 Comments
silmaril
Member

Good idea!

I think it would be even better to have ctrl-B remove only the broken wires inside the currently selected part of the code (if anything is selected).

This would mean some more clicks in your scenario, but it would be safer  when dealig with large diagramms that don't fit onto one screen.

muks
Proven Zealot
But, What will happen if they are realted? Like what will happen to the node (use default if not wired?) What will happen in the case of sequential structures?
Manzolli
Active Participant
I stopped using ctrl-B when the VI gets a case. With this feature the ctrl-B will be safer. Great idea!
André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
Petru_Tarabuta
Active Participant

+1. I would like Ctrl + B to maintain its current functionality. I agree that it can be too powerful and therefore dangerous.

Perhaps a good way to implement the idea is:

  • If nothing is selected, Ctrl + B performs as it has always done (clears all broken wires).
  • If something is selected then it clears the broken wires inside that selection only. For example, if a for loop was selected, it would clear the broken wires inside the for loop only. If a case structure was selected, it would clear the broken wires in the case that is being displayed (but not in the other cases). If a rectangular selection is made via click + drag a selection box, then it would clear only the broken wires inside the selection box.
crossrulz
Knight of NI

The selective Ctrl+B is already in there. It came about somewhere between 8.2 and 2021 (I don't have any versions in between to test). However, it does clear broken wires for all cases of a selected case structure. Therefore, the heart of this idea is to simply expand on the selected remove to only clear broken wires in the visible case of a selected case structure.


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5