02-17-2024 05:55 AM
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?
02-17-2024 06:19 AM
The simplest solution would be to use a Tab Control, with each graph being in its own tab page.
02-17-2024 06:22 AM
What if I wanted the displays to be on one tab but toggle through them?
02-17-2024 02:20 PM
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)
02-17-2024 02:34 PM - edited 02-17-2024 02:36 PM
@altenbach wrote:
(Or tie visibility to a radio button control if only exactly one trace should show)
Here's how that could look like:
02-28-2024 12:33 PM
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?
02-28-2024 01:05 PM
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…
03-05-2024 06:03 PM
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?
03-06-2024 12:51 AM
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.
03-06-2024 03:10 AM
I'm not sure how to edit the for loop to make for this change. Everything I have tried does not seem to work.