LabVIEW Idea Exchange

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

Automatically delete broken wire section which 'shortcircuit' a subVI

Status: New

I saw this idea which I really liked and I realised that this would also be nice.....I do this type of 'insert subVI, delete broken wires' action all day.

 

error_wires.png

 

I searched I think what I am proposing is a little similar to this idea but I think in the difference with the idea I'm putting forward is that labview will only automatically delete a section of the broken wire when the 'short circuit' is sending data around a VI as well as through it!

 

The second part of the idea - where the 'merge errors' vi can be configured to appear automatically when two 'sources' are wired to one sink would be useful when you are parallelising subVIs on the block diagram. I'd also suggest that if this option is configured and the source wires are deleted (so that only one source is linked to one sink) have the merge error vi disappear!!!

 

I'll be gutted if I've wasted my time on another duplicate.....I keep not finding other peoples great ideasSmiley Happy

 

 

15 Comments
Manzolli
Active Participant

@ G-Money

 

I didn't notice the end of the quick help. Thanks for the tip! 

André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil
DeltaJ
Member
Hi all Thanks for the feedback on the idea. Regarding Altenbach's comments I agree with his generalization of the idea. Mads' suggested use of a hotkey (like ctrl) is probably the best way to implement this and avoid unintended problems. And I guarantee if its implemented as we describe someone will be on this board suggesting that in LV2018 or so you press the ctrl key to not short-circuit a wire;-) For the merging error wires the example above is only intended as an example. However I do this a lot when working with parallel code particularly when leaving a state in a state machine or for parallel code in a subVI. In the current way it involves dropping the merge error VI, breaking wires etc so I think the implementation above would definitely be a timesaver. It would be best if a hotkey (like shift+ctrl (or similar)) could enable this particular option. I could also see it being a powerful option if expanded to other wire types. For example arrays....if two compatible array wires (or array wire and compatible element) were connected (when holding down shift+ctrl) this generated a cotatenate array object! All the best D
JoGra
Member

More than 10 years later, I'm still wondering why LabVIEW doesn't clean up the wire piece automatically.

wiebe@CARYA
Knight of NI

QD, CTRL+SHIFT+i does it all in one go... Now.

JoGra
Member

That is true for inserting new nodes into a wire. 
I do often have the case that i rewire something like a "bundle by name" which has a bunch of inputs connected.

 

Maybe inserting a exciting node into an existing wire could be quick drop plug-in? Select both node and wire -> QD and key command to execute. Something for my idea list but it would still be greater if Labview could fix those broke wires by itself.