LabVIEW Idea Exchange

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

wire label ideas: multiple, default

Status: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.

I think there are times where a single wire accessed at a number of points would improve readability if it could have a wire label every "x" units of length.  This is the same question as in "contour plots".  There are good places for multiple labels on a single contour line as demonstrated by software including but not limited to Autodesk (civil), MatLab (engineering), ArcGIS (govt), python (google), and R (stats folks).  (link, link, link, link)

 

I think there should be a button in settings that allows the variable name that shows up in the help-window to be the initial text for the label.  This would accelerate my annotation.  If I edit it, then that becomes the new label, but does not modify the variable name.  (think cluster here).

9 Comments
AristosQueue (NI)
NI Employee (retired)

Speaking for R&D, we could certainly do this. I can imagine some people might like it.

 

Speaking for myself as a LV user, I detest the wire labels already as a barrier to code reading. Putting more on the wire just makes it worse. Attached comments work much better, IMO.

EngrStudent
Active Participant

@AristosQueue - can you put a reference to "Attached Comments" as they relate to wires?  I can and will google them, but I'm betting you know a great source to read to get a decent foundation on the topic.

AristosQueue (NI)
NI Employee (retired)

Not a research topic. I just mean comments that are attached to the wire, as shown.

Untitled.png

X.
Trusted Enthusiast
Trusted Enthusiast

While not in the IE, this has been suggested before.

Because of this annoyance you can actually achieve what you want at a limited cost (in general) by inserting a Always Copy primitive:

 

Screen Shot 2016-11-12 at 11.49.51.png

 

then:

 

Screen Shot 2016-11-12 at 11.51.36.png

AristosQueue (NI)
NI Employee (retired)

That's a pretty extreme cost for a wide range of applications. That always copy could be breaking any number of higher level data structures' memory sharing in all but the most trivial situations.

 

Just route the wire through an empty sequence structure... same thing without the runtime overhead.

X.
Trusted Enthusiast
Trusted Enthusiast

Or create your own "do nothing" variant to variant VI...

JÞB
Knight of NI

Or, Just put a bend in the wire.

<Ducks>


"Should be" isn't "Is" -Jay
cowen71
Member

I would find the ability to label each branch of the wire very nice.

image.png

 

Darren
Proven Zealot
Status changed to: Declined

Any idea that has received less than 3 kudos within 3 years after posting will be automatically declined.