01-18-2023 09:32 PM
Hi all, I have been trying to compile my project and send said project so that another person can work on it. However, because i have previously copies and duplicated the project multiple times before, it seems that the dependencies of multiple VIs have been messed up and i cannot easily send the whole project to the next person without encountering some missing VIs. However, the whole project still runs perfect on my own computer. Is there a way where i can mass compile all the relevant VIs in my project so that i am able to send the whole project in one shot. Please advise as i am really lost in how to continue. Thank you in advance.
Solved! Go to Solution.
01-18-2023 10:12 PM
You could build a source distribution or standalone executable.
01-18-2023 10:22 PM
if i do a standalone executable, will the person that i send the project to be able to see the block diagram and front panel code?
01-18-2023 11:17 PM
They will only be able to run a standalone exe. No LabVIEW needed, just the runtime engine and drivers.
01-19-2023 07:18 AM
1. Use a Source Code Control software to manage your project updates. This helps avoid the copying and causing the cross-dependencies.
2. Delete or move your current project into a new folder. This will break all of the VIs that depend on other projects. Now you can go through the project and figure out what VIs are missing. You can also go through the Dependencies section of the project to see what dependencies you need to copy over from other projects.
01-19-2023 09:32 AM - edited 01-19-2023 09:36 AM
You can also do a Save As... and then pick Duplicate .lvproj file and contents.
That will grab every needed VI in the project and put them all in folder you specify. BUT, it will maintain the current directory structure so you will probably have a C: folder > Program FIles (x86) > etc. > etc. that you might want to drill down into and cut and paste every VI and file to the top level.
Once you have all the dependencies neatly stored in one folder make sure you decide how you want to use your LabVIEW Project's folders, real OS folders and a good version control scheme to keep everything clean and safe going forward.
Best Practices for Managing NI LabVIEW Applications Using the Project Explorer - NI
01-19-2023 09:41 AM
@crossrulz wrote:
1. Use a Source Code Control software to manage your project updates. This helps avoid the copying and causing the cross-dependencies.
2. Delete or move your current project into a new folder. This will break all of the VIs that depend on other projects. Now you can go through the project and figure out what VIs are missing. You can also go through the Dependencies section of the project to see what dependencies you need to copy over from other projects.
IMO out of all these solutions, this is ALWAYS the best way. Besides making it easier for someone else to work on, you have a "time machine" where you can "go back in time" to any point in the development where you did a commit, allowing you to make radical changes without fear of destroying the project if it doesn't work out.