08-12-2012 05:35 PM
Is there a way to anchor a label on the Block Diagram to an object or group of objects...so that if you move it/them...the label moves with them?
Thanks in advance,
cayenne
08-12-2012 05:40 PM
What type of object?
I don't know about groups, but you could make the label visible on just about any object. Use that and it will stay with that particular object.
08-12-2012 06:48 PM
I typically re-use structure labels (FOR loops, case structure, while loop, etc.) for documentation (Right-click... show label...modify label). These are anchored to the structure and stay with the structure (and anything in them). 😉
In LabVIEW 2012, we also have subdiagram labels.
08-16-2012 08:35 PM
@altenbach wrote:
I typically re-use structure labels (FOR loops, case structure, while loop, etc.) for documentation (Right-click... show label...modify label). These are anchored to the structure and stay with the structure (and anything in them). 😉
In LabVIEW 2012, we also have subdiagram labels.
OK, thank you, I"ll likely try that.
I was referring to the "Free Label" object under the Structures->Decorations section of the palette...thinking maybe you could associate this with some code...also, I'm guessing there isn't a good wayt to 'group' parts of code on the block diagram, like you can on the front panel, is there? Those options appear greyed out when I select a number of objects on the block diagram and look there.
I was wanting to us that to make sure when I was dragging sections of code around that I want to keep together, it would always travel around the screen as one....much like the front panel. I was hoping to include the Free Label that way too...
Am I missing something, or is this functionality just not available? If it isn't available...why are the group/ungroup options (even while greyed out) shown on the menu system of the block diagram section?
Thanx,
cayenne
08-17-2012 02:45 AM - edited 08-17-2012 02:48 AM
Your situation seem to be the typical case where you should be creating a subVI and the associated documentation for this portion of code.
As soon as you see that you need to move/copy a part of your code from time to time it is recommended to create a subVI.
Regards,
Baptiste