02-13-2009 12:26 PM
Hello,
How can I dynamically change the names of different plots on a single graph. I would like to do it on the attached VI.
Thanks,
hiNi
Solved! Go to Solution.
02-13-2009 12:40 PM - edited 02-13-2009 12:41 PM
Use active plot and plot name properties. For example if you had three plots and an array of three names, you could do the following:
02-13-2009 01:12 PM
THANKS for the input!
How do you go about initializing the plot names? That is, if I run the whole program a second time, the names that was left on the plots on the previous run, still shows up until the current iteration overwrites it. If I have less iterations than before, I am left will 'residual' plot names.
I appreciate all your help and time.
hiNi.
02-13-2009 01:45 PM
You would have them initialize to some value outside of the loop.
Write the names of the plots first.
Then go to your loop and change them whenever necessary.
That way, each time the VI runs, the plots will begin with the correct name.
02-13-2009 03:41 PM
Hello hiNI,
I hope you have understood the excelent explanation from Cory. Otherwise, you can just have a look at the following image.
I have posted the image because I assume that you do not LV8.6