LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

project filepath

I have a configuration file that i need to upload for a CAN program, is it possible to include it in the project build so that i end up with just one .exe file and not a .exe and a .ncd, if so, what should i point to as a filepath?
0 Kudos
Message 1 of 4
(2,820 Views)
Hi cld8812,
if you build an executable and run it the first time you will get an ini file. You can use this ini file for your settings.

Hope it helps.
Mike


Message Edited by MikeS81 on 07-01-2008 09:22 PM
0 Kudos
Message 2 of 4
(2,817 Views)
but what do i put as the filepath within my code if the configuration file is included in the project?
0 Kudos
Message 3 of 4
(2,814 Views)
If you are building an executable, I normally place the ini file in the same directory as the executable, thus my path would be simply config.ini. I believe that the default is to place additonal files into the data directory located in the executable directory. Then the path would be data\config.ini. This is dependent on the VIs you use to open the file.
0 Kudos
Message 4 of 4
(2,797 Views)