LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

.exe, location of txt file?

Hi,

 

I have a vi that saves information to a txt file during closing and gets this information when the program runs. This doesn't work when a create an executable as I hard code the location of the file path. How do I access this .txt file in the executable version?

 

Thanks,

Adnan Sharief

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

If the path is hardcoded, you shouldn't have any difference between the development environment and an .exe.

 

If your path is relative to the current VI's file path, then you will have an issue.

 

See if this applies to you.

 

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

 

If this information doesn't help, then please post your VI so we can see have you have it programmed.

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