ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Hide single plot in graph

Solved!
Go to solution

Hi,

 

I have a graph with 16 Plots and I want programatically to hide 1 of them with a Boolean switch.

 

I've tried with the plot property node but I can't figure out how can I select a specific plot.

 

Does anyone know how to do it ?

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 1 of 5
(4,471 Views)
Solution
Accepted by topic author Kobi_K

Hi,


you have a property node "Active plot" : set it to the number of the plot you want to change the visible property.

Best Regards

V-F
0 Kudos
Message 2 of 5
(4,465 Views)

Hi Kobi

 

The 'Plot Visible' and 'Active Plot' property nodes of a waveform graph should be all that's necessary, I've attached a really quick example.

 

Kind Regards

 

Chris | Applications Engineer NIUK
Message 3 of 5
(4,459 Views)

Hi Chris,

 

thanks for the example but i have LV 10 so i can't open it 🙂

 

thank you any way for your help.

-----------------------------------------
Kobi Kalif
Software Engineer

0 Kudos
Message 4 of 5
(4,456 Views)

Hi Kobi

 

Sorry about that, I've edited my original post to include a version which will run on the LV10.

 

Kind Regards

Chris | Applications Engineer NIUK
0 Kudos
Message 5 of 5
(4,451 Views)