10-15-2008 12:32 AM
How can I get the path of a VI used in LabVIEW project?
Actually I want to replace the VI used in LV project by saome other VI, and I think it can be done if I get the path of the VI already present in project and replace that path with path of the VI which I want to include in that project.
10-15-2008 07:22 AM - edited 10-15-2008 07:22 AM
10-15-2008 09:12 AM
pritam wrote:
Actually I want to replace the VI used in LV project by saome other VI, and I think it can be done if I get the path of the VI already present in project and replace that path with path of the VI which I want to include in that project.
Could you explain this a bit further? What do you mean replace a VI used in a LV project? A LabVIEW project doesn't "use" VIs. It's just a convenient container. In fact, its organization has no bearing on the structure of VI, or even on the way you have the files organized on disk.
10-17-2008 05:10 AM
06-12-2015 06:36 AM
I'm facing the same probelm ![]()
Actually I'm working on very Huge Project which was developed since at least 15 years ago, so I don't think that rename Vi's would be helpful.![]()
Appreciating any other solution.
06-13-2015 11:32 PM
There are several ways to replace a VI, say "MyFirstVI", with another, say "MySecondVI". The method you use will depend on several factors, including
As noted, if you want to replace all of MyFirstVI with MySecondVI in a Project, here is one way to do this:
At this point, all of your VIs have their "original" names, but in, say, Main.vi, wherever MyFirstVI was called, you should see MySecondVI.
For doing selective Replacement (or even total replacement where you want to actually see all of the instances where replacements are made), you can use QuickDrop to your advantage. You need to have in memory the VIs that use MyFirstVI, and also have MySecondVI in memory. With the Project open and the relevant VIs in memory:
Bob Schor