10-18-2006 03:39 PM
10-18-2006 04:03 PM - edited 10-18-2006 04:03 PM
Hello,
You are definitely correct that loading a VI that's not saved in the current version takes longer (it has to get recompiled, among sometimes other things). My first thought is that, when LabVIEW loads a VI, it also loads all its subVIs. You mentioned you saved your VI and it still takes longer to load in 8.2. Does that VI have any subVIs that are not saved? An easy way to tell is when you close it, are you prompted to save subVIs?
I don't want to say you should just save all your VIs in 8.2 though as you might need some of them to remain in 7.1 for now for future development, so be careful! 🙂
In addition to opening the top-level VI, closing it, and selecting Save All, you can pick Tools - Advanced - Mass Compile. This will do effectively the same thing for a whole folder of VIs. Again, be careful if any of the VIs in that folder or any VIs that the VIs in that folder call, recursively should not be brought into the current version.
Good luck!
Message Edited by Jeff B on 10-18-2006 04:05 PM
10-18-2006 06:45 PM
10-18-2006 06:56 PM
10-19-2006 09:19 AM
10-19-2006 12:37 PM
Jeff,
I can give you lot of similar VIs. But it is not necessary. I guess, I figured out the problem.
The problem is the VI is pointing to a help file which is not there (VI Properties>Documentation>Help Path). I am sorry about this. But it brings up an another point that VI is not validating the help file path. I agree that it is not so critical. But it will be good to prompt that problem rather than killing the developer each time waiting like this. Believe me lot of us using this for years like this without anyother way.
If you can confirm me that the problem i figured is correct, that will be great. Thank you very much for the help.
Thanks,
logic
10-19-2006 03:58 PM