LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

VI Server: Getting the Reference(s) of the Project(s) that Owns a VI

Solved!
Go to solution

Christian_M wrote:

 

@Ben: You are right, from a VI you get the reference of the calling library, from the library you can get the reference of "a project", which is a "Temporary Project X" where X is a increment. But how to get the real owning project?

 

If the project is in memory you can use the "Owning Application" property from the VI then the "Project.Active Project"which is a private property.

 

 

Christian


I must have had that switch turned-on when I was doing my poking and found that.

 

Thank you,

 

Ben

Retired Senior Automation Systems Architect with Data Science Automation LabVIEW Champion Knight of NI and Prepper LinkedIn Profile YouTube Channel
0 Kudos
Message 11 of 12
(759 Views)

Christian, thanks very much for the answer - it's exactly what I needed and works perfectly for my purposes.

 

To be fair, Ben answered it implicitly earlier on, without referring to the super secret private property.

 

Thanks to everyone else that contributed, too.

 

Regards,

 

Jim

0 Kudos
Message 12 of 12
(739 Views)