Error reloading CTRL Libs in Gedi

Discussions about product bugs & problems!
Note: This is no replacement for the Official ETM Support!
4 posts • Page 1 of 1
riccardo.crociani
Posts:34
Joined: Tue Mar 31, 2015 12:52 pm

Error reloading CTRL Libs in Gedi

Post by riccardo.crociani »

I use WinCC OA 3.11 P064 and I'm facing a strange behaviour of Gedi since a couple of days (I think it's began after a crash of the Gedi module).

If I modify a library in the editor in Gedi when I click on Edit-->Reload CTRL Libs a pop-up appears: "Can not reload CTRL Libs becouse they are current in use. Close all Panel and try again".
I'm sure there are no opened panels.

This error occurs only on with specific library, not for all *.ctl file.
I've restarted my pc but this not solved the issue.

The only way to reload and test my library is to restart the Gedi module.

Is there a way to fix the issue ?

mkoller
Posts:741
Joined: Fri Sep 17, 2010 9:03 am

Re: Error reloading CTRL Libs in Gedi

Post by mkoller »

This has nothing to do with either a crash nor will you be able to solve it with a reboot.
It solely depends on your library code. The problem might be that you have a cyclic usage of functions, e.g. libA uses func from libB and libB uses func
from libA

RudiKreiner
Posts:198
Joined: Mon May 16, 2011 2:10 pm

Re: Error reloading CTRL Libs in Gedi

Post by RudiKreiner »

We had this problem for a while too and it was exactly as Martin Koller described. After we cleaned up our library structure the problem was gone :)

riccardo.crociani
Posts:34
Joined: Tue Mar 31, 2015 12:52 pm

Re: Error reloading CTRL Libs in Gedi

Post by riccardo.crociani »

Ok, I'll check the code.

Thanks for the advice.

4 posts • Page 1 of 1