LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Build Graph Depending on Case

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

0 Kudos
Message 1 of 5
(2,191 Views)

You can do all that, but wouldn't it be easier to just have two graphs, and you simply switch which one is visible?

0 Kudos
Message 2 of 5
(2,190 Views)

And if front panel space is a concern use a tab control.

Now Using LabVIEW 2019SP1 and TestStand 2019
Message 3 of 5
(2,180 Views)

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

0 Kudos
Message 4 of 5
(2,176 Views)

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.

Message 5 of 5
(2,156 Views)