09-11-2008 07:46 AM
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?
09-11-2008 09:59 AM
09-11-2008 10:06 AM
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
09-11-2008 10:11 AM
09-11-2008 10:20 AM
Cool its guessing time again!
Try to right-click on the chart and check "Ignore attributes".
Did I win?
Ben
09-11-2008 12:19 PM
How about some intricate and unnecissary code?
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 done
09-11-2008 12:25 PM
....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
09-11-2008 12:28 PM
09-12-2008 02:21 AM
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
09-12-2008 03:27 AM
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