LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Commenting a wire?

Any way of commenting a wire in such a manner that the comment shows on the block diagram?
0 Kudos
Message 1 of 15
(9,675 Views)

Hi Rodnebb,

with a double click in the block diagramm you can add a textbox where ever you want. Change the color of it and move it over your wire.

Mike

0 Kudos
Message 2 of 15
(9,673 Views)

Yes free labels are the normal way to doc wires.

And for the sake of sharing LabVIEW trivia, you can also add documentation to your wires if you want. Note: This only shows up if you help window open and you are using the wiring tool.

Ben




Message Edited by Ben on 01-16-2008 08:02 AM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 3 of 15
(9,659 Views)

I know this, but this text box doesn't attach to the wire. If there are many wires in a bundle (that's when you need a comment) it may be difficult to see which wire it belongs to.

It is also possible to add a comment to a wire, but you have to hover above it with the cursor to see it.

I wanted a comment like those you can attach to an object (say a sequence) to describe what happens inside it.

0 Kudos
Message 4 of 15
(9,654 Views)
One way to dispose of this problem, while making your life much easier, is to bundle wires into a cluster and only bundle and unbundle individual elements when you need them. The cluster element then provides the name you want. This works very well if you have a shift register and you want to work on different elements in different frames of a multi-frame structure. Unless you have large amounts of data, this is usually a good approach.

___________________
Try to take over the world!
0 Kudos
Message 5 of 15
(9,641 Views)
Yes, this is pretty much what I do right now, but I have a calculation where I get a couple of intermediate values that have a meaning, and I'd like to point that out to myself. Anyway, thx for the answers, wish someone'll add this one day Robot Happy
0 Kudos
Message 6 of 15
(9,637 Views)

hello

if you have a calculation the use of a formula node could help you.

Mike

0 Kudos
Message 7 of 15
(9,633 Views)

Is this what you are looking for:



Message Edited by tbob on 01-16-2008 09:13 AM
- tbob

Inventor of the WORM Global
0 Kudos
Message 8 of 15
(9,605 Views)
tbob, a nicer way of doing the bottom option is using the system label. It only exists in the control palettes, so you have to drop it on a front panel and then copy or drag it to a BD. It looks the same as the bottom option, but it has the advantage of adapting to the diagram color, so if you do change it, it doesn't stand out.
 
Both of these, of course, have the problem that if you move the wire, you need to move them manually as well.

___________________
Try to take over the world!
0 Kudos
Message 9 of 15
(9,587 Views)

It would be nice if wires had lables associated with them just as most structures have comments (case, loops....)  This way there would be a name associated (for commenting only) with wires and lock to wires as they move.

 

Paul

Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Message 10 of 15
(9,564 Views)