07-25-2014 12:49 PM
Since upgrading to LV2013, we have seen several of our GUI windows that contain XY Graphs revert the "Line Style" property that was saved. We have some graphs containing multiple plots, some of which have solid lines and dashed lines in them. We typically just configure the plot properties at edit time and save the VI. Starting with 2013, we started seeing problems where lines saved as "Dashed" style were reverting to "Solid" in compiled executable.
We have tried re-saving with the property asserted again, but it always seems to revert when we build and run the exe.
We can certainly do this programmatically. We'll probably create a subvi that accepts a graph reference, and then an array of (plot index + line style) clusters, so we can drop that everywhere we need it. But that sucks for the following reasons:
07-26-2014 09:59 AM
Do you see this effect in the development environment or only in executables?
Does it happen every time or is it irregular?
Does it happen with a new graph or only with ones which existed before the upgrade? What was the original version in which the graph was placed on the VI? Sometimes old front panel stuff gets corrupted during upgrades. I do not recall the line style issue but in such corruption cases placing a new graph on the panel may help.
Sorry, no solutions yet. Just trying to narrow down the parameters of the issue.
Lynn
09-03-2014 08:10 PM
Happens in compiled EXE.
Happens consistently.
Happens with pre-existing graphs; haven't created any new ones.
09-04-2014 02:32 PM
Hello Phil,
I have been able to reproduce the behavior you are experiencing. It seems that the Line Style is not preserved when opening an older VI in a newer version of LabVIEW. This behavior also occurs when you save a newer VI as an older version of LabVIEW.
As you said, the work around for this would be to specify the graph properties in a Property Node.
I have reported this unexpected behavior to the R&D department. It was filed as CAR# 491374.
Thank you very much for bringing this to our attention.