LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My OI build creates my exe with no errors but when I run it I get a Path not found. pop up

The specifics

Labview 2022

TestStand 2021

Windows 11 Enterprise

National Instruments install and project files are on the D drive (my C drive isn't big enough to handle the environment.)

 

I have a test stand/labview app that runs fine, test UUT works as expected and when I build the OI project, it builds without error and creates the exe file as expected.  When I run the exe I get my main OI window and in a few seconds a pop-up window that says "Path not found." and nothing else.

 

I am upgrading old NI2013 code to TS2021/LV2022.  My build folder is on the D drive and all my VIs are called from TestStand using relative addressing.  When the project build is done, it creates a folder in the C drive and the build info says /C/... which sounds like a problem I don't know if it is.  This build creates a .exe, a .ini and a .aliases.  Other projects I have built had a Data folder, but I don't know if that is a requirement.  I tried changing the build to put the executable on the D drive, which it did, but gave the same error.

I am not a hugely experienced TestStand developer and I am working with 12 year old files and no access to the original authors so I am not sure what rules I may have violated.  Do I have to have my NI install and project on the C drive for this to work?

PathNotFound.png

Any pointer appreciated.

 

be well,

DLC

0 Kudos
Message 1 of 1
(47 Views)