LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting plot in a Wave Chart

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!

0 Kudos
Message 1 of 6
(1,366 Views)

I give a capture of the actual design.

0 Kudos
Message 2 of 6
(1,364 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
0 Kudos
Message 3 of 6
(1,341 Views)

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:

 

Plot legend - Plot visible.png

Greets, Dave
0 Kudos
Message 4 of 6
(1,334 Views)

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

0 Kudos
Message 5 of 6
(1,295 Views)

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!

Best regards,
GerdW


using LV2016/2019/2021 on Win10/11+cRIO, TestStand2016/2019
Message 6 of 6
(1,289 Views)