04-14-2013 07:09 AM
Hello,
I am new in G#. When I add a new Class and Implement an interface ( Continuing the Interface Example ) . After then I deleted the Interface class and the standard class too by using G# IDE -> Delete Class.
When I open LabVIEW Class Hierarchy my deleted classes still visible. Correct me If I am worng but I think these classes should be removed from here.
Update:
Could you tell me when to use Class Attributes and when Object Attributes and what is the difference between them? (And documentation?)
Looking forward your reply. Thanks in advance
04-15-2013 09:01 AM
Hi,
I tried to repeat your problem, but can't find anything wrong. However, when deleting classes, LabVIEW may keep them in memory for some reason even if they should be unloaded. The can be found in project environment as "Items in memory". I do believe that this has to do with inheritance and relationships. There are no API inside LabVIEW (unfortunatly) to force LabVIEW to unload. If you restart LabVIEW they are gone.
Regarding object attributes vs. class attributes (static attributes), please see this discussion:
https://decibel.ni.com/content/message/26164
Regards,
Mattias