LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

My application doesn't open or create a .dat file after I made it an executable !

Solved!
Go to solution

I made an application that stores some data in a .dat file. It works fine until I make the VI an executable. 

Even if my program didn't find the .dat in first time, it should create, but it isn't !

 

What I have to do for my VI use the .dat file in executable mode. I need this because I have to run the VI without LABVIEW 8.6 installed.

 

Thanks !

 

PS. Sorry for my poor English !!! I'm Brazillian !!!

 

 

0 Kudos
Message 1 of 4
(2,863 Views)
Solution
Accepted by topic author DanielDias
0 Kudos
Message 2 of 4
(2,861 Views)
What version of LabVIEW did you use to build the exe?
Did you include all necessary dependencies?
Cory K
0 Kudos
Message 3 of 4
(2,838 Views)

Cory K wrote:
Did you include all necessary dependencies?

That cannot be the problem if he tries to create a file and it fails. Most likely he has relative paths and thus needs to strip twice to get to a real folder. You cannot create a new file "inside" the exe. For further information, real my link above.

0 Kudos
Message 4 of 4
(2,835 Views)