LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

x-y graph property node

Solved!
Go to solution

I am looking for a means by which to programmatically turn on and off some of the plots in an x-y graph.

 

I have the code that plots a series of thermocouple inputs to an x-y multigraph where the x-value is time. Using a property node I can wire in a Boolean to turn the "plot visible" input TRUE or FALSE. This works for the first plot on the graph, but I can't make it work for the rest of the plots. Creating multiple property nodes and assigning different plot ID numbers to the Plot Y. Scale Index input doesn't work, they're just ignored. I can't even get multiple plots to turn off if I wire multiple plot ID numbers into the same property node (using multple Plot Y Scale Index inputs).

 

Is there a trick to turning plots on and off in a multiple plot x-y graph?

 

thank you. 

Laura SImpson
Electrical Engineer
BEI Precision Systems and Space Company
0 Kudos
Message 1 of 3
(4,880 Views)
Solution
Accepted by topic author lsimpson
Use the Active Plot property.
0 Kudos
Message 2 of 3
(4,875 Views)
That and a for loop were exactly what I needed. Thank you.
Laura SImpson
Electrical Engineer
BEI Precision Systems and Space Company
0 Kudos
Message 3 of 3
(4,850 Views)