Open Config Data VI

Owning Palette: Configuration File VIs

Requires: Base Development System

Opens a reference to the configuration data found in a platform-independent configuration file.

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

Example

 Add to the block diagram  Find on the palette
configuration file path is the path to the platform-independent configuration file.
create file if necessary (T) configures the VI to create the file specified in configuration file path if the file does not exist. You must set create file if necessary (T) to the default value of TRUE for the VI to create the file.
error in describes error conditions that occur before this node runs. This input provides standard error in functionality.
refnum is the reference number of the configuration data.
file created? returns TRUE if the configuration file operation creates a file.
error out contains error information. This output provides standard error out functionality.

Example

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

 Open example  Find related examples