Writes a value to a key in a specified section of the configuration data identified by refnum. This VI modifies data in memory. To write data to disk, use the Close Config Data VI. Wire data to the value input to determine the polymorphic instance to use or manually select the instance.

Format the content of an .ini file correctly when you use this VI.


icon

If key exists, the VI replaces the existing value. If key does not exist, the VI adds the key/value pair to the end of the specified section. If section does not exist, the VI adds section, with the key/value pair, to the end of the configuration data.

Examples

Refer to the following example files included with LabVIEW.

  • labview\examples\File IO\Configuration (INI)\Configuration (INI) File.lvproj