LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Write to a .txt file if you build a .exe file from you VI

While trying to end the labview projects that I have running, I encoutered a problem. If I build an .exe file from this simple .vi file it won't write the string to Example.txt while, if you execute the .vi file it will create the .txt file and write the strings to it. Is there something special while building the .exe you have to do to make this work? Thanks!

example.jpg

 

Download All
0 Kudos
Message 1 of 3
(2,583 Views)

You have to strip the path twice in an .exe file.

 

see this tread:

 

http://forums.ni.com/ni/board/message?board.id=170&message.id=430908#M430908

0 Kudos
Message 2 of 3
(2,579 Views)
Thank you very much, I love simple solutions Smiley Happy
0 Kudos
Message 3 of 3
(2,574 Views)