08-25-2022 04:52 AM
Hi everyone,
I'm new in LabView, and I'm trying to plot several signals adquire by an adquisition device in a Wave Chart. I want to have different checkboxes in order to be able to select which signals are supposed to be represented. I made lots of test but it doesn't work in any of them. Now I have a structure event which uploads the Visible property of the chart with the value of the cluster of checkboxes (saw in a NI forum). In the while loop, the chart is continuously updating, but It doesn't plot the signals indicated by the cluster.
Thank in advance!
08-25-2022 04:54 AM - edited 08-25-2022 04:55 AM
I give a capture of the actual design.
08-25-2022 06:28 AM - edited 08-25-2022 06:29 AM
Hi George,
@George7893 wrote:
I give a capture of the actual design.
Why do you attach an image of your code? We cannot edit/debug/run images with LabVIEW!
Next time attach your VI...
Why don't you use the plot legend of your WaveformChart? Just display (and use) the plot visibility checkboxes!
08-25-2022 06:55 AM
Note:
I think, it is not easy to find this feature. That's why a picture. Right-click on a plot description, not into the legend picture:
08-26-2022 01:35 AM
The problem is that if I use the checkboxes from the legend then I couldn't use the signals of that checkboxes for anything else. So my idea was to make external checkboxes.
I attach you the VI
08-26-2022 02:09 AM
Hi George,
@George7893 wrote:
The problem is that if I use the checkboxes from the legend then I couldn't use the signals of that checkboxes for anything else. So my idea was to make external checkboxes.
Well, you could read the plot visibility property.
This will give you the value of those plot legend checkboxes!