11-14-2011 03:38 AM
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
Solved! Go to Solution.
11-14-2011 04:30 AM
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;))
11-14-2011 05:08 AM
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...).
11-16-2011 04:38 AM
Hi Nitz,
Because I didn't get/find any other solution I must consider your suggestion to continue my work.
Thank's!