11-05-2015 07:15 AM
Hi
I have a config file (ini file) which has huge data(2000 lines) which contains Sections and keys. I would like to delete a Section and keys
I am using an FGV (functional global variable). I would like to delete part of data programmatically from the file and write it back .
Delete from array is one solution i know. Is there any best solution to use.
Solved! Go to Solution.
11-05-2015 07:23 AM
If you are using the Config File API that NI gives you, there are the Remove Section VI and Remove Key VI that sound like they do what you want.
11-05-2015 07:23 AM
11-05-2015 07:33 AM
11-05-2015 07:47 AM
Thank you to all...your suggestions helps me alot..:)
11-05-2015 07:50 AM
@Regulator wrote:
The Sound and Vibration Toolkit has the Configuration File VIs Palette has the following available...
Actually, you do not need the Sound and Vibration Toolkit to use those VIs. They are available in the base version of LabVIEW under the File I/O->Configuration File palette. The SVT just adds another link to those VIs in the palette.
11-05-2015 07:52 AM
11-05-2015 07:54 AM
11-10-2015 05:19 AM
Hi ,
I have to delete a string in a key... they are tab delimited
[Devices]
Section_Name = " Lpt1 Lpt2 Lpt3 Lpt4 Lpt5 Lpt6"
I would like to delete Lpt3
Get result as
Section_Name = "Lpt1 Lpt2 Lpt4 Lpt5 Lpt6"
How can I get it?
11-10-2015 05:32 AM