LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

editable label for created VI

Hi, what settings is available to be able tyo edit the label of a newly created VI on the use?
0 Kudos
Message 1 of 22
(3,925 Views)

Hi Siamak,

what do you mean? You can right click on a subvi and select, show label.

 

Mike

0 Kudos
Message 2 of 22
(3,908 Views)

Hi Siamak,

I hope you are wanting the dynamically change the label of the currently used VI.

Is that what you want ??

Otherwise to show/edit labels  right click on it ,

which will show the name. So just rename it ..

0 Kudos
Message 3 of 22
(3,903 Views)
Hi, both you and Mike, I have created a VI A and have used multiple instances of it in VI B. I can show the label of A in B, but I can not change its label when it is used in B. I am guessing I am missing a simple concept here, but here we go, I haven't worked it out yet! Siamak
0 Kudos
Message 4 of 22
(3,870 Views)

Open a ref to the VI and and drop a property node and  select

 

Front Panel Window >>> Title

 

To set the VI name that shows at the top of the window.

 

Ben

Message Edited by Ben on 06-23-2009 01:56 PM
Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 5 of 22
(3,867 Views)

 

You are right as far as I can tell you can not change the label of a sub VI.

I have tried to do so in the past to document what that VI is doing at that point in my code.

 

I very often will rename some of the built in function like the equal to document what I am testing for.

I will rename the label for while loops to document what I am looping for etc.

 

But sub VI labels are NOT editable.

 

Omar

 

Message Edited by OmarGator on 06-23-2009 02:08 PM
Message 6 of 22
(3,863 Views)
Hi, I guess this is the solution! It's me not finding how to! could this become a bit more clear please? what I did was I opened the VI (which I want to have its title editable on each instance later on), and I dropped a Property Node on its block diagram, right clicking on the property node gives me options such as LinkTo etc, is this a correct track? I guess not,...
0 Kudos
Message 7 of 22
(3,840 Views)
My previous reply was actually to Ben, Omar also replied in the meanwhile. Omar, I hardly can believe if I create a new VI, there is no solution for being able to edit a label (or somthing similar) on it at each instance. This is very much expected!
0 Kudos
Message 8 of 22
(3,838 Views)
You are on the right track for Ben's solution.  Now you need the VI reference.  Find the 'Open VI Reference' function and wire the refeence out to your property node.  Then when you click on the property section you can select 'VI name'.  To reference the current VI find the 'Current VI's Path' function and wire that to the VI path control of the 'Open VI Reference' function.
0 Kudos
Message 9 of 22
(3,834 Views)

This last reply is actually slighty different, it's about VI's Name, which must be different to the Title, but it more clearly helped with the walkthrough,... problem is yet live however, if I set the property to Front Panel Window > Title, then will I be able to make the VI's title visible on the instance and give it a name? I did set the Title property, but didn't find how to edit that title on the use!

0 Kudos
Message 10 of 22
(3,822 Views)