03-10-2025 12:56 PM
My RTEXE builds are having Application Directory return a path WITHIN the rtexe instead of the folder containing the rtexe (presumably it's not recognizing being built into an app and is instead returning the folder containing the top-level VI?)
Has anyone else seen this? Is this somehow expected behavior?
03-10-2025 12:59 PM
I am resorting to this to get my expected behavior:
03-10-2025 05:40 PM
I don't have experience with real-time, but I ran into a similar problem when I used LabVIEW to build a DLL. I wanted to use "Application Directory" to get a path to the DLL, but it gave the path to whatever had loaded the DLL (could be python.exe for example). I ended up using "VI Path" and stripping the path to the DLL location.
All this to say, I think continuing with your work around is the best thing to do.