LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

find variable name for ini file

Thank you all for the input. I have a better understanding of the config files now. I am planning on distributing this to many computers. What would you recommend I use for the path of the config file? I know in Labview 2010 I could use the build path VI with the application directory VI and a default file name conecting to it. The problem is is that I can only build an exe on my Labview 7 express version and there isn't an application directory VI. Is there anything in LV 7 express that would be able to recognize where the exe is stored and look for the config file in that folder?

0 Kudos
Message 11 of 14
(570 Views)

I would just stick it in the same folder as your .exe on the Program Files directory that it gets installed to.  This path won't change from one system to the next.

-----------------------------------------------------------------------------------------
Reese, (former CLAD, future CLD)

Some people call me the Space Cowboy!
Some call me the gangster of love.
Some people call me MoReese!
...I'm right here baby, right here, right here, right here at home
0 Kudos
Message 12 of 14
(560 Views)

I thought that at first but some people like to switch directories and I just might want to take that into account.

 

0 Kudos
Message 13 of 14
(548 Views)

I don't know if LabVIEW 7 Express has the Get System Directory or not. If so you could use that.

 

directory.png

=====================
LabVIEW 2012


0 Kudos
Message 14 of 14
(542 Views)