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.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Error 7 when opening a VI reference from within a .exe

Maybe someone can tell me why I get Error 7 (LabVIEW 2011 SP1 project included). I can get it to work if I remove the first directory ("Controlled Software") in the path string (block diagram of "Main Menu.vi"). I fail to understand why this directory is ignored when trying to open a VI that is in that directory hierarchy. I have it as "Always Included" in the build properties (Source Files).

 

test.png

 

 

0 Kudos
Message 1 of 2
(2,412 Views)

Why Does My Executable Not Work When Using the Current VI's Path Constant?

 

Basically, the same problem.

 

Put indicators on your paths and you'll see the problem.

0 Kudos
Message 2 of 2
(2,390 Views)