G#

cancel
Showing results for 
Search instead for 
Did you mean: 

G# Adding and Deleting Classes and Interfaces

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

---
+++ In God we believe, in Trance we Trust +++
[Hungary]
0 Kudos
Message 1 of 2
(3,739 Views)

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

0 Kudos
Message 2 of 2
(3,047 Views)