Writes data to the platform-independent configuration file identified by refnum and then closes the reference to that file.


icon

Inputs/Outputs

  • cdlrn.png refnum

    refnum is the reference number of the configuration data.

  • cbool.png write file if changed (T)

    write file if changed (T) configures the VI to write the configuration data to the platform-independent configuration file you specify with the Open Config Data VI. You must set write file if changed (T) to the default value of TRUE for the VI to write the configuration data. If the value is FALSE, the VI does not write the configuration data.

  • cerrcodeclst.png error in (no error)

    error in describes error conditions that occur before this node runs. With the following exception, this input provides standard error in functionality.

    If an error occurs before this node executes, the node only closes the reference passed to it.

  • ipath.png file path

    file path is the path to the configuration file.

  • ierrcodeclst.png error out

    error out contains error information. This output provides standard error out functionality.

  • Examples

    Refer to the following example files included with LabVIEW.

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