LabVIEW Idea Exchange

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

Add label to wires

Status: Completed
Available in NI LabVIEW 2010

Why dont wires have an optional label associated with them.  Style guides have use label long wires but wires have to be moved often during development, and the labels are not fixed to the wire.  This should be maintained for us.  Right click on wire and add label, with ability to lock label to wire source, wire midpoint or wire destination.

 

Message Edited by Support on 06-03-2009 03:26 PM
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
18 Comments
acardoso
Member

I second this idea. When it will possible to tip a wire?

António

RandyP
Member

I think something Visio-like would be best. The option to rotate the label 90 degrees could be nice too.

 

I imagine that one of the biggest problems for this type of functionality is dealing with the repositioning of labels when the wire changes. Especially when the wire has multiple destinations, and the label is over the portion of the wire that has been deleted. I have to wonder how LabVIEW thinks about wires in the back end--I wonder if each individual line is a separate object, existing from point A to point B, where A and B are anything from a connector on a function, to a wire junction or wire bend. I can definitely see how assigning a label to a "wire" could be non-trivial...

 

EDIT: Whoops. I guess I was a bit redundant with InternationAL.

Should've read all the comments before posting mine. Smiley Tongue

Message Edited by RandyP on 12-22-2009 09:08 AM
-Randy
-=--=-=-=-=-=-=-
Nothing like a good dose of LabVIEW to cure what ails ya'.
tst
Knight of NI Knight of NI
Knight of NI

> I wonder if each individual line is a separate object, existing from point A to point B...

 

No. A wire is represented as a single object which has a Terminals[] property (represeting the source and sinks) and a Joints[] property, which says where all the bends and splits are. This means that there is no problem with repositioning the label for display (or even showing multiple labels). Note that tunnels break wires in two (i.e. the two wires on the two sides of the tunnel are not the same wire) and that if you delete a segment in the middle of a wire you get two new wires.


___________________
Try to take over the world!
Todd S.
NI Employee (retired)
Status changed to: In Development
 
Todd S.
LabVIEW Community Manager
National Instruments
Wonger
Member
Status changed to: In Beta
 
Laura F.
Active Participant
Status changed to: Completed
Available in NI LabVIEW 2010
peos
Member

Nice feature, but the font color should default to the same color as the wire.

AristosQueue (NI)
NI Employee (retired)

> Nice feature, but the font color should default to the same color as the wire.

 

You should create a new Idea Exchange entry if you think this is a change that should be considered.