in data 10-08-2012 10:08 PM
VI built in 2011, When opened in 2012, the attached happens (black rectangles were "standard" silver controls. Ideas?
Risolto Andare alla soluzione.
in data 10-08-2012 11:03 PM
bradth,
That looks strange. Any chance you could post a VI that displays the problem? Since this is the first time I've heard of or seen such a problem I'm assuming it's fairly rare and it might have something to do with your VI. Does it happen on every VI you have upgraded from 2011 to 2012?
I'll take a look at it tomorrow once I get to the office.
Regards,
Simon
in data 10-09-2012 05:41 PM
Simon,
Thanks for taking a look at this. Couple things I have tried:
1) Created a VI in 2011 with a silver control. Saved it. Opened it in 2012. Everything is fine.
2) With the problem VI, instead of opening it from the project, opened the VI directly, controls look fine. So this only occurs when I opened the VI from inside the project.
So some back ground that now seems very important.... the reason I upgraded to 2012 was because I was having an issue where when I opened a VI inside project, there was a long delay until the VI was shown. Could it be that somehow the project is corrupted. If so, suggestion on how to fix it?
in data 10-10-2012 08:16 AM
I have seen that happen when saving a VI with silver controls back to an older version of LV (2010 or earlier) that didn't support them. Is it possible that at some point your VI was saved to LV ver 2010?
in data 10-10-2012 10:06 AM
Some good troubleshooting steps
@bradth wrote:
1) Created a VI in 2011 with a silver control. Saved it. Opened it in 2012. Everything is fine.
So at least we know it's not some crazy LabVIEW-wide problem on your system.
@bradth wrote:
2) With the problem VI, instead of opening it from the project, opened the VI directly, controls look fine. So this only occurs when I opened the VI from inside the project.
I'm getting some more people at NI involved to try and figure this one out -- again if you can send us some of the problematic code I'm sure that will assist our debugging. If you don't want to post it feel free to send me a direct message and we can work out a convinient way to get it to us.
@bradth wrote:
So some back ground that now seems very important.... the reason I upgraded to 2012 was because I was having an issue where when I opened a VI inside project, there was a long delay until the VI was shown. Could it be that somehow the project is corrupted. If so, suggestion on how to fix it?
A .lvproj file is, for the most part, human-readable XML. You could open it with a text-editor and see if any of the paths look incorrect. You should see a lot of entries that look similar to this:
<Item Name="My VI.vi" Type="VI" URL="../My VI.vi"/>
I'm also assuming that it has to be this project for the problem to surface -- you don't see this problem for any VI opened from a project.
~Simon
in data 10-10-2012 08:02 PM
At some point during troubleshooting of the slow VI issue, we had tried to save back a version to v10 and the reopen in 2011 (forgetting about the Silver controls and when they were implemented, v11). I believe the opening from a project versus opening the VI directly was a red herring (path problem).
I did reproduce this issue. Saving back to v10 and then opening in v11 and I get the controls as shown in the picture. Once this is done, it seems to be irreversible (luckily I was able to revert from a repository).
Still working the slow VI editing issue (opening/closing and not responding) but I will save that for another thread. Thanks both of you for the help.
in data 10-11-2012 06:45 AM
I remember past problems with transparent borders of controls causing 100% cpu, this isn't similar?
/Y