cancel
Showing results for 
Search instead for 
Did you mean: 

Selecting plot in a Wave Chart

George7893
Member

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!

5 REPLIES 5
George7893
Member

Re: Selecting plot in a Wave Chart

Message contains an attachment

I give a capture of the actual design.

GerdW
Knight of NI

Re: Selecting plot in a Wave Chart

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
daveTW
Active Participant

Re: Selecting plot in a Wave Chart

Message contains an image

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
George7893
Member

Re: Selecting plot in a Wave Chart

Message contains an attachment

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

GerdW
Knight of NI

Re: Selecting plot in a Wave Chart

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