02-25-2015 01:42 PM
An existing LabVIEW project seems to have everything and the kitchen thrown in regardless whether the actual files in several subdirectories are necessary or not.
What is the best approach for starting fresh and creating a new project with just the relevant files?
I am thinking that adding the top-level VI to an empty project would be the best approach.
Solved! Go to Solution.
02-25-2015 02:05 PM
02-25-2015 02:40 PM - edited 02-25-2015 02:40 PM
Ah totally forgot about Source Distrubition.
This is the error message I get when creating the Source Distribution.
===
LabVIEW cannot find a file that is a dependency of a Startup, Exported, or Always Included VI.
File Not Found: The file at 'C:\IonB\PRODUCTS\ION\IONB\Settings\INIT\IonB_DutInitalize.vi' was expected to have the qualified name 'IonSettings.lvlib:IonB_DutInitalize.vi', but has the qualified name 'IonB_DutInitalize.vi'.
The missing file might be referenced by one of the libraries included in the build or by the file - IonB_SystemTest.vi. To fix this issue:
- Open all Startup, Exported, or Always Included VIs, recompile them (CTRL+SHIFT Click the Run arrow) and save them to update their dependencies.
- Open all libraries included in the build and verify the existence and locations of referenced files. Also, try building with the additional exclusion option, "Remove unused members of project libraries", checked.
===
I don't understand about the missing file.
It is there in the directory. IonSettings.lvlib is there along with IonB_DutInitialize.vi
02-25-2015 04:50 PM
Error description suggests that IonB_DutI
02-26-2015 07:58 AM
@PiDi wrote:
Error description suggests that IonB_DutI
nitalize.vi does not belong to IonSettings.lvli - are you sure this exact VI is in the library? Have you tried removing it from library, saving everything, adding it again and saving again? Sounds much like "let's open the door and close them again" from old programmers joke, but usually it helps ;]
I had to re-add the VI to the lvlib. There were several warnings and errors in the project file left by the original engineer.