05-04-2006 01:13 PM
05-05-2006 11:25 AM
I guess I must be a little confused about what you are speaking about. Could you elaborate more and possibly show some screen shots or an Example VI would be even better. What do you mean if you run the interpreted VI it works? What works? Are you trying to save to a location and it isn't working correctly? Just give a more precise explanation of what is going on. Thanks
Tyler H.
National Instruments
05-05-2006 04:17 PM
From the front panel of the vi, the setting is under Tools:Options:Paths:Default Data Directory. Uncheck use default, insert different path.
Attached is the project (for the executable settings) and the demo vi. This vi just shows the current value of the default data directory.
I have changed the path of the Default data directory from the default value to a path of my own choosing. This new path is not preserved when the vi is compiled to an executable. The executable reverts to the default path instead of my specified path.
05-08-2006 05:04 PM
I did see the behavior you are speaking about and will be creating a corrective action request on it. You can correct this by adding a line similar to this one to the ini file in the exe folder: DefaultDataFileLocation=C:\Documents and Settings\data
I have tested the work around and it seems to work just fine. Basically the bug is that it is not seeing this line in the LabVIEW ini file and isn't transfering it over. Hope this helps.
Tyler H.
National Instruments
07-19-2007 11:25 AM
Is this going to be fixed anytime soon? I'm still experiencing it in 8.2.1, and even though the workaround is fairly painless, it's still an annoying step to have to remember everytime I make a new build.
09-29-2023 02:45 PM
FYI in case anyone stumbles across this old thread. The LabVIEW INI file pertains to configuration of the LabVIEW IDE. If you need to configure your EXE to use customizations that you've configured for your LabVIEW IDE, you need to add those same tokens to your EXE's INI file. If you want to automate this process, consider adding a post-build custom action to your EXE build spec that modifies the EXE INI file to include any token values you wish to specify.