I have 3 waveform charts showing different data but I'm trying to create a front end where I can toggle between the 3 graphs so I can see one graph at a time. I would preferable like to use a button that can toggle between the charts. Is there any way to do this or have an example of anything that does this?
The simplest solution would be to use a Tab Control, with each graph being in its own tab page.
What if I wanted the displays to be on one tab but toggle through them?
Use exactly one chart with three traces and expose the visibility checkbox in the legend.
(Or tie visibility to a radio button control if only exactly one trace should show)
@altenbach wrote:
(Or tie visibility to a radio button control if only exactly one trace should show)
Here's how that could look like:
I have a new requirement where the waveform chart has to display 2 graphs at the same time. So total 6 graphs 2 on each chart.
Is there anyway I can change the above VI to implement the new requirement?
Hi AJ,
@AJcpt wrote:
I have a new requirement where the waveform chart has to display 2 graphs at the same time. So total 6 graphs 2 on each chart.
Is there anyway I can change the above VI to implement the new requirement?
So before you had 3 PLOTS and you wanted to show one of them.
Your "new" requirement is to manage 6 plots and make two of them visible.
In which way is this a "new" requirement? It's basically the very same requirement…
I'm just not sure how to change the VI above to only show 2 at a time. I have tried build array and other methods but nothing seems to work.
Any suggestions?
Hi AJ,
@AJcpt wrote:
I'm just not sure how to change the VI above to only show 2 at a time.
Any suggestions?
Altenbach's VI uses a FOR loop inside an event case.
I'm not sure how to edit the for loop to make for this change. Everything I have tried does not seem to work.