08-13-2012 10:15 AM
I am trying to add multiple languages to my project, using the CVI GUI Localization Utility in LabWindows 2010.
However when I try to load my UIR file into the utility, it crashes (like killed to Windows). This uir was initially created using LabWindows 6 or earlier, however, it has been ported and working in LabWindows 2010 for over a year.
It crashes every time and I can't continue my work. Is there anything I can try to make it work?
Thanks,
Chris
Solved! Go to Solution.
08-13-2012 12:41 PM
Hello Chris,
I remember to have read several posts about errors or crashes in the localization utility in the past but I don't remember exactly which were the conditions originating the error. If you can post here your UIR some NI person can take a look at it and find a solution for you. Additionally, some details on error messages, if any, or events posted to the system event log could help to determine the cause of error.
Alternatively, if the file includes several panels you can save each of them in a different UIR file and load them into the localization utility to reduce the number and type of controls and possibly isolate the panel originating the error.
08-14-2012 07:11 AM
Thanks for the reply. I've isolated the panel which causes the problem. It is a fairly simple panel, though it does contain a tree, which I'm assuming is the issue.
I've attached a UIR with just that panel. Once that panel is removed the localization utility will load the rest of my program UIR, however, removing this panel is not an option.
Let me know anything you find out.
Chris
08-14-2012 05:31 PM
Hi Chris,
Taking a look at the .uir that was posted, it does appear that the error is a result of the tree control. If you remove the two elements that are in the tree control (so that no elements are in the tree control), save, and then try to load the .uir into the User Interface Localizer, it appears that the .uir can load into the User Interface Localizer without an error. Alternatively, if you leave the elements but change the type of the tree control from string (char *) to int, it appears to load without causing an error as well. I will check to see if this is a known issue, but hopefully one of the two workarounds can be used for your application.
08-15-2012 07:48 AM
Thanks for the info. I will see what I can do with those work-arounds.
Chris