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,557 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,535 Views)