LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find xctl in VI's dependencies

Solved!
Go to solution

Hello everybody,

 

I am trying to find programatically all the subVI's used in a VI and save them together in the same folder.

I did that using Get VI Dependencies Invoke Method. It works with VIs, ctl, llb and lvlib (I can get their names and paths). 

But if the VI contains an xctl, it doesn't appear in the Dependency Names and Dependency Paths.

Do you know how can I get programatically the path to an xctl used in a VI?

 

Thank's

0 Kudos
Message 1 of 4
(2,779 Views)
Solution
Accepted by topic author Nicku

Hi,

 

Even i have tried this with the invoke node. Didn't work for me as well. I am not sure what is the correct solution for this question. But what I did was, I made a project with the VI containing the x-control and then i took the Project Dependencies using the invoke node. This returns the x-control name and path. I hope this helps you in some way.

Regards,
NitzZ

(Give Kudos to good Answers, Mark it as a Solution if your problem is Solved;)) 

0 Kudos
Message 2 of 4
(2,770 Views)

Thank you Nitz,

 

Probably you are right it should work in this way but I'm trying to find a general solution for a VI, which maybe is not in a project and what is important for me, is to get from a project only the subVI's for a special VI (I want to use a small part of the project and if I will do it in your way I think I will get a lot of unused VI's...).

0 Kudos
Message 3 of 4
(2,766 Views)

Hi Nitz,

 

Because I didn't get/find any other solution I must consider your suggestion to continue my work.

Thank's! 

 

0 Kudos
Message 4 of 4
(2,752 Views)