Close Config Data VI

Owning Palette: Configuration File VIs

Requires: Base Development System

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

Example

 Add to the block diagram  Find on the palette
refnum is the reference number of the configuration data.
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.
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.
error out contains error information. This output provides standard error out functionality.
file path is the path to the configuration file.

Example

Refer to the Configuration (INI) File.lvproj in the labview\examples\File IO\Configuration (INI) directory for an example of using the Close Config Data VI.

 Open example  Find related examples