NI Home
Cart Cart | Help
Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI
You are here: 
NI Home > NI Developer Zone > NI Discussion Forums


Reply
Member
Rodnebb
0 Kudos

Commenting a wire?

Any way of commenting a wire in such a manner that the comment shows on the block diagram?
Proven Zealot
0 Kudos

Re: Commenting a wire?

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

Knight of NI
Knight of NI
Ben
0 Kudos

Re: Commenting a wire?

[ Edited ]

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
Member
Rodnebb
0 Kudos

Re: Commenting a wire?

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.

Proven Zealot
Proven Zealot
tst
0 Kudos

Re: Commenting a wire?

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!
Member
Rodnebb
0 Kudos

Re: Commenting a wire?

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 :robothappy:
Proven Zealot
0 Kudos

Re: Commenting a wire?

hello

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

Mike

Trusted Enthusiast
tbob
0 Kudos

Re: Commenting a wire?

[ Edited ]

Is this what you are looking for:



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


Inventor of the WORM Global
Proven Zealot
Proven Zealot
tst
0 Kudos

Re: Commenting a wire?

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!
Active Participant
falkpl

Re: Commenting a wire?

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.
CLD, CPI
Labview 4.0- 2009, RT, Vision, FPGA
By using this web site, you accept the Terms of Use for this web site. Please read these Terms of Use carefully before using any part of this site. Please go here for information on ni.com's copyright infringement policy.
My Profile | Privacy | Legal | Contact NI © 2010 National Instruments Corporation. All rights reserved.    |    E-Mail this Page E-Mail this Page