LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Removing plot from plot legend in LV 2011

Solved!
Go to solution

Hi,

With LV 2011 it is now possible to use a check mark in the plot legend to hide/show a plot. I am running into a problem though: I cannot remove any legend items from " old plots" once they are added.

 

Capture.PNG

As in the image above, I plot a first set of data that consist on 6 channels: 3 "Tones" and 3 "old channels". If sbsequently I only send to the plot the 3 "Tones", I cannot get rid of the Old Channels. I tried to use the Legend Properties, but they fall short. Any idea ? Thx.

 

Laurent

0 Kudos
Message 1 of 4
(2,827 Views)

BSI: 

You found a good forum about this, I just wanted to make sure you noticed that the solution was on the bottom of the second page of the forum: http://forums.ni.com/t5/forums/replypage/board-id/170/message-id/701555
Thoric included an example VI that clears the legends like you want.

0 Kudos
Message 3 of 4
(2,785 Views)
Solution
Accepted by topic author LDBM

Thx Chris for the pointer

 

The VI test is re-linked here.

 

It sort of does what I was describing, however this is a bit of a trickery to get it work. If you stop the VI and expand the legend the old plots are still there. But I am cherry picking . 

 

PS:  Page 2 of this forum is actually here with more discussion on the topic.

0 Kudos
Message 4 of 4
(2,781 Views)