LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

LocalizePanel : err -46

I've got an error -46 with LocalizePanel function.
Even if I just create a lwl file ( without translation ) I've got that error with 3 panels of an uir file. The message is "The attribute passed is not valid".Inside the localiser tool I have no problem.
What does it mean ?
0 Kudos
Message 1 of 3
(3,169 Views)
The main cause for errors in the function LocalizePanel is that the panel has changed from the time when the .lwl file was created in the localization utility. If, between the time when you load the panel, and when you localize it you, for example, create or discard controls, change their tab order, or add or remove elements in a ring control, you will probably get an error.

If you don't think you're changing the panel, try calling LoadLocalizedPanel, instead of LoadPanel/LocalizePanel. If the former works, but the latter doesn't, try taking out some of the code between LoadPanel and LocalizePanel, gradually, until you find the culprit.

Luis
NI
0 Kudos
Message 2 of 3
(3,169 Views)
I've just found out what happens.I've changed an attribute between the calls of LoadPanel and LocalizePanel.
0 Kudos
Message 3 of 3
(3,169 Views)