01-16-2024 07:28 AM
Hi,
I am trying to run a project on another laptop which does not have labview. As you can see in the attached pic, I am using a reference of a vi, named "user entry" so that the front panel of this vi shows up .The reference points to existing directory from where the main vi is running.
When I run the installer and application on another laptop ,it gives me error as it can not find the "user entry" vi. How can I resolve this?
Any help appreciated
Solved! Go to Solution.
01-16-2024 07:49 AM
The application builder cannot detect dynamically called VIs. Therefore you need to tell the application builder to include it. In the build specification for the executable, you need to put the "user entry.vi" in the "Allways Include" in the "Source Files" category.
01-16-2024 08:57 AM
Thanks for your reply. I appreciate.The project file column is greyed out.I could only put the startup file .after that it does not give me any option of choosing any other file.
Can you please help?
01-16-2024 09:39 AM
Is that other VI even part of the project?
01-16-2024 10:12 AM
when I click on "Find project item" after right clicking on the project name, it shows me the vi in the list
01-16-2024 10:19 AM - edited 01-16-2024 10:21 AM
@maccapple wrote:
Any help appreciated
Your use of current VI path in an executable is incorrect. See here. Use Application Directory instead!
(Why are there so many wire bends???)
01-16-2024 12:15 PM
You nailed it. Thanks.Tried with Application builder and is working. I was kind of aware hat it was not accepting the proper path when I saw the error pointing to some different long file path for this VI. But was not knowing "Application Directory" can do the job.