08-27-2013 04:53 AM
Problem:
I have a folder containing a complete project with all files.
The project has "Auto-populating" enabled.
I create a copy of the folder under a new name.
When I open the project in the copied folder I observe this:
The build specification for the application no longer contains "Startup VIs".
Details:
The folder "DemoProject" contains all files belonging to the project. "DemoProject" has been added to the project file using "Add" - "Folder (Auto-populating)...". Under "Build Specifications" with "New" - "Application (EXE)" I added "DemoProjectApp". Under properties of "DemoProjectApp" - "Source Files" - "Startup VIs" I added "DemoProjectMain.vi". "DemoProjectMain.vi" and the "DemoProject.lvproj" file are located inside the folder "DemoProject". So far so good.
- Here is the problem: Now I copy "DemoProject" to "DemoProject - Copy". When I open the project the build specification of "DemoProjectApp" contains no "Startup VIs". Also "Always Included" is empty. No warning has been presented!
- Workaround: "Stop Auto-population" before you create the copy. Afterwards switch "Auto-population" on again.
08-27-2013 05:30 AM
Try current folder instead of auto populating
08-27-2013 10:28 AM - edited 08-27-2013 10:31 AM
@Ranjeet_Singh wrote:
Try current folder instead of auto populating
What is a "current folder?"
[edit] brain-gltch: It's not a choice. He literally meant "the current folder!" Duh.
08-27-2013 09:58 PM
Friend billko,
I want him to add the VI which contain all the VIs and other files using as shown below in image files.
I asked him to try.May this solve the problem.
08-28-2013 09:33 AM
@Ranjeet_Singh wrote:
Friend @billko,
I want him to add the VI which contain all the VIs and other files using as shown below in image files.
I asked him to try.May this solve the problem.
Hi, Ranjeet_Singh:
I was a little slow with the brain yesterday, but I eventually understood what you were getting at. 🙂
Thanks!
07-09-2015 12:27 AM
For Copying any LabVIEW project (.lvproj), you can not simply copy and paste the folder.
we have to do the below step:
File >> Save As.. and select the option Duplicate .lvproj file ( includeing all the dependencies) then only the project duplicate in to the other folder.
Note: if any conflicts in the project Save As option will not Enable.
another issues while building the copied Folder Build Specification EXE Paths are different due to this you have to add Startup VIs and Dynamic VIs Manually.
see the attachment for reference and copy in the C Drive and Try it.