07-21-2011 04:28 PM
Hello Everyone,
I am fairly new to LabView and i tried looking for some examples and so on but nothing.
My problem is fairly easy, i have a main program that outputs results, depending on the case i have different types of graphs to display for example:
1st Case X axis Voltage and Y axis - Current and Power.
2nd Case X- axis Wavelength Y axis - Current, Percentage, Current/Watts, Current Density etc.
How can i change the axis names and add new depending on my case and be able to change properties of the Plot names etc
Which is the most appropriate way to do this?
Cheers
07-21-2011 04:45 PM
You can do all that, but wouldn't it be easier to just have two graphs, and you simply switch which one is visible?
07-21-2011 05:42 PM
And if front panel space is a concern use a tab control.
07-21-2011 07:12 PM
Hi,
Thanks for you response.
I had the tabs at the start but i thought it could be done without it. How do i go rename the Axis etc, can you guys provide me with a link or something that has more info?
Cheers
07-22-2011 09:23 AM
That would all be done with property nodes. For example, to set the X-Axis label you'd use the X Scale -> Name Label -> Text property.
There are a few examples that ship with LabVIEW that show you how to use property nodes.