09-21-2016 03:05 AM
Hi LabVIEW Gurus,
To explain the issue see the following behaviour :
My Main Application is in
01_Main.lvproj
This project (01_Main) contain severals packed libraries built from another Project File, let's say
02_PPL.lvlibp
03_PPL.lvlibp
My issue happen when i open the 01_Main.lvproj getting the "Load Warning Summary" dialog box : Dependency loaded from new path.
The gap between all path is SVN Folder which is duplicated ;
Expected Path :
SVN_Project/SVN_Project/02_PPL.lvlibp/Myinstr.vi
NewPath : (Which is the right one ofc)
SVN_Project/02_PPL.lvlibp/Myinstr.vi
Openning Myinstr.vi in the project containning the 02_PPL.lvlibp doesn't show up any warning... or dependancies issues.
Any idea how to solve those Warning ? Even if ignoring them work well... How to solve those for good ?
BR,
Vincent
Solved! Go to Solution.
09-21-2016 07:55 AM
The solution to solve it is to save whichever VI's had changed as a result of the new path. Be sure to save changed VI's.
Next time you open your project, you should not get the new path dialog.
09-21-2016 08:13 AM
Hi RavensFan,
I'am not sure to understand what you say. I can't change path of VI which are in the good path...
The "new path warning" is detected only on the Main project.
The PPL Projects open VIs without warning...
I tried a mass compile of all project files, still those warning showing up.
What could be nice to know is that each build of PPL is copied into one folder containning all PPL.
The Main Project get its PPL dependencies from this folder.
BR,
Vincent
09-21-2016 08:35 AM
Something in the main project was saved when it had the subVI in the bad path. When it opens, it looks for it at the bad path, when it can't find it there, it keeps looking and finds it elsewhere, now in the "good" path. If you just close the main project, the fact it found it in the good path is now lost, and it will start looking for it in the "bad" path all over again when you open it again.
If you save the main project once it has found the subVI in the new "good" path, it will remember to look for it in the good path when you open it up the next time.
09-21-2016 08:55 AM
I save my main project several times a day... Still didn't get it what is your solution.... Saving my project !?
Indeed saving project should consider and save the new path found...
This is the issue because it doesn't!!!!
Why ? Because SVN make it a mess ? Because Packed Libraries make it a mess ?
Anyone experienced this on similar architecture ?
Our application contains around 3500 VIs.
BR,
Vincent
09-22-2016 07:09 AM
No further ideas ?
09-22-2016 09:01 AM
SVN shouldn't cause a problem because it is just copying files and saving files. Other than if the extracting of files from the SVN database puts it into a different directory than you intended (such as the extra subdirectory). And work on that updates files and gets saved back keeping the "wrong" paths stored into the VI's.
I haven't used packed libraries. But your warning message points towards your second library. Libraries also maintain other information about what VI's belong in them and what don't. You say you open the library and don't see any problems, but is that still within the context of the project?
I would consider reconstructing that 2nd packed library. Make sure all files and folders are where you want them to be before adding them into the library. Perhaps rebuilding it from scratch will fix all of the data in the library file that describes where the files are relative to each other.
09-22-2016 09:25 AM
When i open the library it was out of 01_Main.lvproj context ; I open 02_Toto.lvproj which contain 02PPL.lvlib which is used to build the packed library 02_PPL.lvlibp.
Packed lilbrary which is independent from 01_Main.lvproj
The packed library is copied into a folder which is added to 01_Main.lvproj
I think i would consider your last advice to reconstruct projects containning VIs with new path path bug.
BR,
Vincent
09-29-2016 02:33 AM
After rebuilding all projects and libraries the issue remain. I openned all projects, and on each of them, removed VIs from LVlib. Then we put them back. Each time LabVIEW save all VIs so we excpect all VIs get their Path updated. After building packed libraries, the same "double folder" appears from some librairies.
Which cause the load warning summary still appears... It is ok because the application works fine but this dialog box is embarrasing. Feel like the project is not clean...
Will keep digging to find a way around this bug. Will keep you updated.
Working on LabVIEW 2016.
Vincent
09-29-2016 02:44 AM
[...]
My issue happen when i open the 01_Main.lvproj getting the "Load Warning Summary" dialog box : Dependency loaded from new path.
[...]
BR,
Vincent
Do you get the dialog when loading the lvproj file or when openening the Main.vi inside of the project?
Norbert