cancel
Showing results for 
Search instead for 
Did you mean: 

Can I change the content of a section in config data file use Configuration File VIs of LV?

Ya-hoo
Member

Can I change the content of a section in config data file use Configuration File VIs of LV?

There are  few sections in my .ini file, I need to change the content of a section in this .ini file. Are Configuration File VIs in File I/O fuction pallete able to do that?
 
Thanks.
3 REPLIES 3
falkpl
Trusted Enthusiast

Re: Can I change the content of a section in config data file use Configuration File VIs of LV?

You should be able to.  Open the .ini file, read the key (if it exitst) delete it and write a new key (you might be able to directly overwrite the key but I havent tried this). Close the file with the write file? set to true and you should have modified the .ini file with the config vis.
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA
Ya-hoo
Member

Re: Can I change the content of a section in config data file use Configuration File VIs of LV?

I think I find the way but I haven't try it yet.

Thanks for your reply anyway.

falkpl
Trusted Enthusiast

Re: Can I change the content of a section in config data file use Configuration File VIs of LV?

Let us know if you have any trouble with the config vis
Paul Falkenstein
Coleman Technologies Inc.
CLA, CPI, AIA-Vision
Labview 4.0- 2013, RT, Vision, FPGA