LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Class dependencies doesnt go away

I have removed a unwanted class from my project and made sure all the dependencies are removed properly and there is no missing items in the project.

Whenever my other developer open this project in their machine(where he/she was used open this project with this class included earlier), for the first time LabVIEW searches for the class I deleted, when we select ignore and continue loading the project loads without any issues and there is no dependencies!!. After this LabVIEW doesn't ask for the deleted class in successive load. But when we Clear the compiler Cache in that machine again LabVIEW looks for the deleted class in the first time loading, if we ignore and continue, there is no issues with the project again..

What is the reason for this behavior? how to get rid of this first time loading search?

 

LabVIEW version: 2021 64bit

OS: Windows 10 64bit

 

Regards,

Adarsh

LabVIEW from 2006

CLA from 2016

 

 

0 Kudos
Message 1 of 5
(1,177 Views)

Could you do a search to see if any code has a diagram disable structure or a conditional disable structure that contains the class in a disabled frame?

 

You could also try narrowing down the VI that contains the dependency.  Create a duplicate of the project, then remove half of the items from the project.  If the half-project still loads the class, try the other half to confirm it doesn't load.  Repeat over and over and after a while you should be able to locate the exact VI file containing the reference so you can look for it in there more closely.

Message 2 of 5
(1,145 Views)

If you have an uninitialized shift register that contains a class, the value in that shift register might never get mutated.

If that private class data used to refer to any part of the deleted class, that could be holding the reference to the deleted class.

The solution is to initialize the shift register.

Message 3 of 5
(1,129 Views)

Another possibility could be if you still have a class that once inherited from the deleted class, the reference will remain in the mutation history of the formally child class. Preserving LabVIEW Class Data 


GCentral
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
"Not that we are sufficient in ourselves to claim anything as coming from us, but our sufficiency is from God" - 2 Corinthians 3:5
Message 4 of 5
(1,073 Views)

Thank you for your replies. I will double check all 3 possibilities and update if I find anything interesting  

0 Kudos
Message 5 of 5
(998 Views)