04-19-2022 08:20 AM
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
04-19-2022 08:25 AM
@flycast wrote:
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
Right click in your project, and use Find>Callers. This will still only find callers in your project. Sometimes it incorrectly claims that VIs are still called, shortly after removing the call.
Open it, on the icon use Find All Instances (or from a sub VI instance of the VI), but that also only shows callers in memory.
One advantage of OO programming in LabVIEW is that class members are always loaded into memory...
04-19-2022 09:25 AM
wiebe@CARYA wrote:
@flycast wrote:
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
Right click in your project, and use Find>Callers. This will still only find callers in your project. Sometimes it incorrectly claims that VIs are still called, shortly after removing the call.
Open it, on the icon use Find All Instances (or from a sub VI instance of the VI), but that also only shows callers in memory.
One advantage of OO programming in LabVIEW is that class members are always loaded into memory...
wiebe@CARYA wrote:
@flycast wrote:
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
Right click in your project, and use Find>Callers. This will still only find callers in your project. Sometimes it incorrectly claims that VIs are still called, shortly after removing the call.
Open it, on the icon use Find All Instances (or from a sub VI instance of the VI), but that also only shows callers in memory.
One advantage of OO programming in LabVIEW is that class members are always loaded into memory...
I believe your comment about class members also applies to library members (by default - I think you can set LV not to do this).
A quick way to find your VI in the project is View --> Find this VI in project.
04-19-2022 09:37 AM
@billko wrote:
wiebe@CARYA wrote:
@flycast wrote:
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
Right click in your project, and use Find>Callers. This will still only find callers in your project. Sometimes it incorrectly claims that VIs are still called, shortly after removing the call.
Open it, on the icon use Find All Instances (or from a sub VI instance of the VI), but that also only shows callers in memory.
One advantage of OO programming in LabVIEW is that class members are always loaded into memory...
wiebe@CARYA wrote:
@flycast wrote:
Is there a way to determine if a VI is used by other VI's? I do see "View-> Browse" options but that looks like it works only if you have the VI that uses the current VI open???
I need to see everywhere a VI is used.
Right click in your project, and use Find>Callers. This will still only find callers in your project. Sometimes it incorrectly claims that VIs are still called, shortly after removing the call.
Open it, on the icon use Find All Instances (or from a sub VI instance of the VI), but that also only shows callers in memory.
One advantage of OO programming in LabVIEW is that class members are always loaded into memory...
I believe your comment about class members also applies to library members (by default - I think you can set LV not to do this).
For classes I'm sure you can't. Classes (incl it's members) are always loaded.
@billko wrote:s).A quick way to find your VI in the project is View --> Find this VI in project.
Sure, but that wasn't the question?
04-19-2022 11:21 AM
@flycast wrote:
I need to see everywhere a VI is used.
Define the term "used". I am not sure about your question, but unless the caller is open, running, reserved, or part of the same project, the Vi is not "used".
Is this a loose VI or part of a project? If this is in a project, "find callers" will do what you want within the scope of the project.
If you want to search your entire HD for any VI that depends on your VI anywhere in its hierarchy, that's probably a difficult task and you still won't find VIs that call your VI by opening a reference to it by file name.
Can you take a step back and explain what you are trying to achieve with all this?