LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using CTRL+F to investigate dependencies in my .lvproj

Hey folks,

 

I have a question regarding the search results I am getting when I ctrl+F and search for "DIO.lvclass" while I have a vi open (I'll call it vi "B", it is a vi that the project tells me has DIO.lvclass as a dependency).  

 

http://i.imgur.com/YE8jBLY.png   

 

Here's the dumb question- what does this mean? It's in the heirarchy but not in the vi that the project lists as a dependant?  Could it be in dependencies because of some kind of library association or something?

 

I have tried opening up each of this class's methods (with vi "B" open in the background) and selecting "find all instances", but there are no results.

 

Thanks for any ideas

 

-Pat

0 Kudos
Message 1 of 3
(2,434 Views)

All libraries load into memory if they are in a project tree which is open.

Classes load all their members when they are loaded into memory, even if no one is calling any of those members.

 

That means that even if no one is calling those VIs, they are in memory, which I assume is what the "VI hierarchy" part in that image means. If the class isn't explicitly placed in the project, that means that something is loading it separately as a dependency. Since you say this isn't any of the VIs in the class, this could be something like a constant of the class or a class control/indicator/constant which has a default value of that class or a VI from a child class, all of which would cause the class to be loaded.


___________________
Try to take over the world!
Message 2 of 3
(2,427 Views)

Thanks for the info!

kudos to you sir.

 

I am however, still stumped as to why it is listed as a dependency- I found and deleted several constants, as well as the methods that were called in my B vi...  it still lists the "B" vi and another I'll call "C" as vis that use the class...  I tried searching for just "DIO" with the B vi up and I only get one result that has nthing to do with the class (just a string constant).  

 

I guess I'll just keep hunting - it has to be a control/indicator/constant like you said huh...  

 

Thanks

-pat

 

 

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