From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.
We appreciate your patience as we improve our online experience.
07-23-2014 08:11 PM
Hi,
When I build my application, the Application Builder decides that it should include additional directories instead of the default files (data directory, .aliases, .exe, and .ini files). The additional directories include files that are named the same in various instr.lib's but are in different libraries, i.e. Close.vi or Initialize.vi. In my project explorer are there no unresolved dependancies. Does anyone know why this may be happening?
I just marked out the company name in blue if you were wondering.
Solved! Go to Solution.
07-23-2014 08:25 PM
What version of LabVIEW are you using? If you are using 2009 or above, there is an option to use the 8.X format for the executable. It is one of the advanced options in the build specification. You do NOT want to do that. In the 8.X format, the VIs are saved in the executable as a flat directory. This means that any VI that was named the same, regardless of library association, would conflict. This would cause those libraries to be saved outside of the executable.
If you are using the newer format, the executable keeps a directory hierarchy, just like a zip file. So you won't have the name conflicts in that instance.
07-23-2014 08:36 PM
You're the man!
Why is that the default option?
07-24-2014 06:47 AM
abeaver wrote:
Why is that the default option?
Seems silly to me as well. But I think it was for backwards compatibility with all of the code out there that relied on finding a folder by using VI Path and stripping twice (VI, then EXE).