NI Home > Community > NI Discussion Forums

LabVIEW Idea Exchange

Showing results for 
Search instead for 
Do you mean 
Announcements
We've turned on a search before post feature in the LabVIEW Idea Exchange. This new feature will help cut down on the number of duplicate ideas in this space!

The NI Idea Exchange is a product feedback forum where NI R&D and users work together to submit ideas, collaborate on their development, and vote for the ones they like best. View all of the NI Idea Exchanges to post an idea or add your opinion on an existing one today!
TiTou

Bad wire gets cleared automatically when it can

Status: New
by Trusted Enthusiast on ‎02-10-2010 01:48 PM

Over the years the wiring routines have been improving a lot, here is a next step that would make wiring even easier.

 

I call that "Bad wire gets cleared automatically when it can", it would take me 50 lines to explain, so here are to screen shots to explain what i have in mind :

 

ex_a.png

 

ex_b.png

 

 

Comments
by Trusted Enthusiast on ‎02-10-2010 02:44 PM

I would like this 98% of the time... but the 2% of the time something automatically happens that I don't catch, I'll spend 2 hours tracking down the bug. I liken this idea to Unbundles that try to automatically correct themselves when the parent cluster changes. A lot of the time, LabVIEW guesses right! But over the years, I have probably net lost time trying to track bugs when it chooses wrong.

by Knight of NI on ‎02-10-2010 03:42 PM
I agree with Jack on this one.  I don't want LabVIEW guessing at what I'm intending.  What you may be considering the final desired result, I might consider just an intermediate step in sorting out and untwisting some logic in the wiring.  If this idea was ever implemented, it would need to be an option that you'd have to turn on to implement.  And I guarantee I would never turn it on.
by Trusted Enthusiast on ‎02-10-2010 04:08 PM
I like it, don't get me wrong, and I wish it could work, but since it's impossible for LabVIEW to read my mind, it would be impossible to implement. I hope this conversation will get back to the LabVIEW code that makes Unbundles/Bundles "guess" your data structure changes, because I want that "feature" (read, bug) removed.
by Trusted Enthusiast on ‎02-10-2010 04:47 PM
Would being able to drag the wire from one terminal to another not be a better solution to the problem?
by Trusted Enthusiast on ‎02-10-2010 08:06 PM

I like the idea, but I share Jack's concerns. What if there were some sort of "accept" key? Like this:

 

I wire from A to the wire. I click and I have a broken wire. If the next thing I do is hit the space bar, it auto corrects. If I click anywhere else, the broken wire stays as it is.

 

Would that make this workable?

by Trusted Enthusiast on ‎02-11-2010 12:29 AM

@all : not sure my post was clear enough, I only mean this for a broken wire that is attached to one and only one source and one and only one sink, sink and source being of different data type (of course otherwise the wire wouldn't be broken :smileyvery-happy:). And in that case adding a third terminal (sink or source) that matches one of the 2 original terminals would automatically remove the part of the wire that makes it broken.

 

@JackDunaway : I thought about the "unbundle" that would auto-adapt and I also thought that could be dangerous so I didn't include it in my post, because I'd be afraid of it creating some bugs in my code. \paranoid off

 

@Ravens Fan : like you I don't want LabVIEW (or any software) guessing what I'm intending, what I like (and I think you do too) is to fully control my LabVIEW environment and specially my wire. I totally agree that different people like different options (auto-wiring routine, auto wire, auto-tool, etc...), if so many options exists it clearly means we have different way to work from one another. I, for instance, couldn't stand the auto-tool for a long time and now I can live without it, yet I have colleague it will never use it and turn it off automatically. Fair enough

 

@Intaris : that's an idea I hadn't thought about, drag and drop a broken wire to connect it to a "valid for the other end" terminal. Why not...

 

@Aristos Queue : why not an "accept key, that would be workable. Maybe too tricky  though... what about a new block diagram option "Allow auto-correct on broken wires" (this name sounds a bit scary but it's not easy to be short and explain it correctly).

 

Thanks for all your comments anyway :smileyhappy:

by Trusted Enthusiast on ‎02-11-2010 12:33 AM

One more thing, not sure I made it clear, I would only "allow" LabVIEW to auto-correct a wire on wich I made an action right now, not any wire in my code that becomes broken when I change the type of a connector in a subVI or when I change the type of a cluster that goes round in a shift register.

 

by Proven Zealot on ‎02-11-2010 04:23 AM

I am more concerned about how labview will handle when a small action resulting in  showing a lot of broken wires there i would personally not want labview to auto guess where to connect it.

 

by Trusted Enthusiast on ‎02-11-2010 04:39 AM

@muks : that's true, and I think the auto-deletion of a part of a broken wire should only be done when originally the wire had 2 (no less, no more) connections and you give this wire a third connection that matches on of the original 2.

 

LabVIEW acting on a broken wire by itself sounds crazy, I never had that in mind.

 

I understand that people get nervous when I talk about LabVIEW doing this or that "automatically", but what I have in mind is:

- restricted to a wire that goes from 2 mismatching connectors, to adding a 3rd that matches one of the original 2,

- controlled by the developer because it only acts on a wire you are editing,

- not by default, but can be activated in the Block Diagram options.

 
by Proven Zealot on ‎02-11-2010 07:10 AM

Just trying to understand it better.

 

do you mean if there are say 5 connections and we delete a wire causing a break, then it will be ignored?

Latest LabVIEW Idea Exchange Blog Posts
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!
Idea Statuses
Top Kudoed Authors
User Kudos Count
85
46
43
38
33