LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

CVI GUI Localization Utility crashes when loading uir

Solved!
Go to solution

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

0 Kudos
Message 1 of 5
(3,478 Views)

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.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
0 Kudos
Message 2 of 5
(3,473 Views)

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

0 Kudos
Message 3 of 5
(3,468 Views)
Solution
Accepted by topic author ckcook

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.


Milan
0 Kudos
Message 4 of 5
(3,455 Views)

Thanks for the info. I will see what I can do with those work-arounds.

 

Chris

0 Kudos
Message 5 of 5
(3,443 Views)