10-11-2012 01:37 PM - edited 10-11-2012 01:53 PM
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.
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
Solved! Go to Solution.
10-12-2012 12:33 PM
It looks like this is a hang-over on an old issue:
http://forums.ni.com/t5/LabVIEW/Delete-plot-definitions-from-chart/td-p/749266
http://lavag.org/topic/15853-waveform-graph-legend-weirdness/page__hl__legend__fromsearch__1
L.
10-12-2012 04:32 PM
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.
10-12-2012 04:55 PM - edited 10-12-2012 04:59 PM
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.