LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Changing names of labels of plots of graphs or waveform charts

I am using a formular vi to do multiple calculations whose answers i display graphically on a waveform chart.

 

the problem is that labview does not allow me to change the name of label of the result from the calculation to what i want it to be displayed as to the front panel user.

 

well... it does allow me to change it to what i prefer but as soon as i run the vi the label name reverts to "result"

 

is there a way of getting around this problem?

0 Kudos
Message 1 of 18
(4,770 Views)
You can't change the labels at run-time. You can, however, display the caption for a control and change that instead.
Message 2 of 18
(4,756 Views)

Don't he wants to change the plot names?

 

There where so many "names" and "labels" in the question that the best would be to post your VI...or a smaller VI which just shows the bahaviour and where you can explain which "name" or "label" or whatever should be changed regarding to what.

 

Christian

Message 3 of 18
(4,754 Views)
Hmm... You may be right. I thought he was talking about controls. Now that I re-read the message it is confusing.
Message 4 of 18
(4,750 Views)

Cool its guessing time again! 

 

Try to right-click on the chart and check "Ignore attributes".

 

Did I win? Smiley Very Happy

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
Message 5 of 18
(4,745 Views)

How about some intricate and unnecissary code? Smiley Very Happy

For instance, have an array with all the names you want to use.

Then, if you want to use one of the names for one thing, index that name for the array.

Have a string indicator on the front panel just above the object in question, so it looks like a label.

For different instances, index different names.

 

There...... unnecissary but its doneSmiley Wink

Cory K
0 Kudos
Message 6 of 18
(4,731 Views)

....sometimes I would like to be orange....

 

@chusta you see its a bit confusing what you wrote, so maybe you can figure out your problem with a simple piece of code and again try to descripe what names do you want to change.

 

 

Christian

Message 7 of 18
(4,726 Views)
By the way Ben, I gave your post 5 stars because it made me laugh.
Cory K
Message 8 of 18
(4,722 Views)

Ok... sorry for the confusion

 

see what i meant below

 

if for example i am doing an efficiency calculation i would need an input and an output then i would calculate the ratio of the output to the input.

 

on my graph i would want to see a plot labels named input, output and efficiency

 

in the example attached i have simulated two signals and i did the calculation with the formular vi

 

on the front panel i can only see plots labeled DC, DC and DC(Formular Result)

 

i want to display these on my graph as Input, Outpt and Efficiency respectively

 

hope that clears the confusion

 

that is my problem, please give me the answer

 

 

Download All
0 Kudos
Message 9 of 18
(4,694 Views)

Hey,

 

You have to convert the dynamic datatype into a 2D Array of doubles. Then you can use property nodes to set the plot names of the several plots.

With dynamic datatype it seemst to ignore even programmatic changed names, though it takes the names from the DD type.

 

Christian

Message 10 of 18
(4,676 Views)