LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Update graph in background tab

Solved!
Go to solution

I hvae a three page tab set up each with a different graph running on it so that I can save some screen space and tab through the graphs at will. My question is how can i make sure that the two graphs not being displayed still graph their data? When I click between the tabs it starts back at 0 and then writes from there. How can I make sure that it displays the same timespan of data as it's counterpart? They are really just displaying the same thing but calculated differently.

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

Hi labview12110

 

Could you put your code? It will be easier. Even though, see this basic code and try it, you'll see that all the charts are working fine. If you still have problems, let me know

 

0 Kudos
Message 2 of 5
(2,832 Views)
Solution
Accepted by topic author labview12110

The best thing you can do is lose the tab control -- you don't need it and LV has a long history of tab controls and graphs not playing well together.

Consider, you have three datasets but only see one graph at a time. Have one graph and provide some way for the user to select which of the three datasets to display on that one graph. Trust me, the code will be simpler and much more robust.

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 3 of 5
(2,808 Views)

I figured it out without the tabs like you suggested and instead wired them all to an array, and then to anotehr array and then to the graph with the plot visibility checkboxes option on. Where is the property node for this? I want to wire that to a case structure where it will perform a certain calculation depending on which plot you have selected is visible. I think that the visible property node option is only for the whole graph not the legend elements.

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

There is also a property for making the Legend visible, but it's on the Scale Legend submenu.

 

Mike...


Certified Professional Instructor
Certified LabVIEW Architect
LabVIEW Champion

"... after all, He's not a tame lion..."

For help with grief and grieving.
Message 5 of 5
(2,769 Views)