04-27-2015 06:35 PM
Using LabView 8.6
I have inherited the maintenance of several VIs and have run into the following "issue" - there are multiple XY Graphs plotting a variety of data and in optimizing things to remove redundant or useless data the Properties of the XY Graph still reflect having 6 plots instead of the 3 which are connected to it. I have reduced the legend to only include the 3 plots which are actually connected but the Properties dialog still shows 6 plots, two named "Plot 3" and "Plot 4" and an unfortunately duplicate name "V2" for what would be plot 5. Running the VI doesn't seem to change what the properties dialog contains though there isn't any adverse effect (in a few seconds of running).
Is there a correct way to remove the non-existent plots or is this something where I would have to delete the XYGraph and place a new one on the UI and connect it up as usual? My biggest concern is that there is a duplicated name which might cause issues at some point and/or that this thing is just wasting memory and processor cycles and it won't be an issue until the system has been running for 10 hours.
I have attached an image of the connections involved (the VI is ridiculously huge and unwieldy to post...don't get me started on inefficiency, this is just what I have inherited to maintain), but there isn't really anything unusual there.
Solved! Go to Solution.
04-27-2015 06:41 PM
All old plots that no longer receive data won't show, so it is not really that important to remove them. Resize the legend to the number of valid plots.
Still the current situation is not ideal, that's why I posted this idea long ago. 😄 Please vote for it!