LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

does the current_vis_path vi apply to the executable

Hi

if I have the vi, current_vi's path in a vi,i then build an executable from that vi,do i have to have that vi in the same directory as the executable?

I hope it makes sense?

Thank you.
0 Kudos
Message 1 of 2
(2,448 Views)
I do not quite understand...

If you build an .exe from a VI, then that VI is contained WITHIN the .exe file.

E.g. if your built application resides in directory 'foo' and its name is 'foo.exe', and the name of the VI is 'foo.vi', then the function 'path of current VI' would return "...\foo\foo.exe\foo.vi"
0 Kudos
Message 2 of 2
(2,443 Views)