LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Have a top level VI look ONLY in the current folder for it's sub-vi's

Hello,
Is there a way to tell LabVIEW to stop looking in other folders for sub-vi's?
 
Thanks,
Richard
 
 
Richard






0 Kudos
Message 1 of 5
(2,570 Views)

Hi Richard,

As far as I know, put all the sub-VIs into the same folder where you keep your Main VI. This is the only way to make LV "look" for the sub-VIs in the same folder. But the first time you open your Main VI after doing this, it ll ask again for the sub-VIs to be linked up manually.

Otherwise, if you continue loading it without them, the Main VI ll show broken arrow. You ve to link all your sub-VIs manually which in turn, again ll be a tedious exercise. Smiley Sad

Thats why I ve been maintaining all my sub-VIs in the same foldeer as that of the Main VI from the conception of my project. Smiley Wink

Using same 7.1. Smiley Very Happy

- Partha ( CLD until Oct 2024 🙂 )
Message 2 of 5
(2,556 Views)
I've come to the conclusion that I'm losing my mind. Why? Because I could be way off the mark but I could swear this same question was posed not too long ago and I know I provided a response, but I can't find it. In any event, the search path that LabVIEW uses is configured via the "Tools->Options" dialog box, in the "Paths" section. Are you trying to break a cross-link or something, like you have a top-level VI that's using a subVI from the wrong directory? If so, the best way to do this is to open the subVI that you want to be used first, then open the top-level VI. The top-level VI will use the subVI that's in memory, and you can then resave the top-level VI.

0 Kudos
Message 3 of 5
(2,546 Views)
You may have answered it before... I did a search before I posted. I've found that many of these forum engines don't work very well re: searching. They'll either not work at all, or return so much crap that you can't parse it.
 
Anyway, thanks for the resposes.
 
YES! I was trying to break a cross-link - just couldn't think of that term. I didn't think of opening the sub vi first - that a good method, but what if you have 350+ VI's?
I've thought of creating another virual drive on my computer, but that's a hassle.
 
Thanks again
Richard
Richard






0 Kudos
Message 4 of 5
(2,536 Views)
I don't think you have to go to the extreme of creating a new virtual drive. Have you tried renaming the folder where the other subVIs are? Since the main won't be able to find the origianl folder, it should then look in the current folder for them.
Message 5 of 5
(2,530 Views)