12-17-2011 12:54 AM
Suppose I had made a group of variable settings for an application.
I have made sttings once & saved it,in a cluster or array,by assigning some name So i can use it again also.
But those saved items must be present When i will opening application again,so i don't need to set variables again.
How can I achieve That ?
12-17-2011 01:56 AM
Use the "Configuration File VIs". When the app runs, see if the file exists. If it does exist, use the values from the file. When the app closes, write the config file. The Configuration example VIs may be helpful.
12-17-2011 02:22 AM
configurated vi are not opening, once it is written ?
12-17-2011 02:34 AM
12-17-2011 12:13 PM
12-22-2011 02:19 AM
Thank you
I hv saved data by using configuration file vi......
We need to give a path of text file to save data
If I will ran an application in other machine,WHAT PATH I SUPPOSED TO give ?
or ny other solution .........
12-22-2011 07:42 AM
Use whatever path you want. Usually the file is saved in the same directory as the application, so you can use the Application Directory constant to return to you the path for the application.