LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Why would my data collection stop when I make the VI an executable?

I collect data, and save it to a data directory. In full developement mode, the data collection works fine, but when I build an executable from the original vi it no longer stores the data.
0 Kudos
Message 1 of 2
(1,974 Views)
How are you determining the path to the location for storing the data? Any paths that are determined based on the current location of a VI must take into account that the path to a VI is different when built into an executable. If you are doing a strip path, then you need to do one more in an executable. In the development mode, the path to a VI might be c:\junk\example.vi. In an executable, the path to the same VI will be c:\junk\junk.exe\junk.vi.
0 Kudos
Message 2 of 2
(1,974 Views)