LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Find dependency between classes

Solved!
Go to solution

I am experimenting with classes. I was wondering if there is a tool, which shows me in which VI the dependency between my graph and my camera classes actually is.

Quiztus2_0-1711534650825.png

 

0 Kudos
Message 1 of 4
(221 Views)
Solution
Accepted by topic author Quiztus2

Are you referring to the grey square there?  If so, that's just the "LabVIEW Object" class, which every class in LabVIEW inherits from.  

 

If it's something else that makes you think they're linked, what is it?  If you create a new project, and add just one of your classes, you can see if the other one appears in the "Dependencies" section at the bottom or not to see if there truly is a dependency.  If it does show up there, you can right-click on it and select "Why is this item in dependencies?" and it will take you to a specific VI causing the dependency.  If it doesn't show up as a dependency, then close that project, open another one, and put the other class in there and check it as well.

0 Kudos
Message 2 of 4
(175 Views)

I followed your suggestion. In my case this didn't work out so well. I had accidentally a vi of the other class in a polymorphic vi. This seems to be a cornercase where "why is this..." doesn't resolve... I'll validate this and create a bug report. 

0 Kudos
Message 3 of 4
(168 Views)

I did a test in a minimal setup and your suggestion works even with poly.

0 Kudos
Message 4 of 4
(143 Views)