Open Config Data VI

LabVIEW 2018 Help


Edition Date: March 2018
Part Number: 371361R-01
View Product Info

DOWNLOAD (Windows Only)


LabVIEW 2015 Help
LabVIEW 2016 Help
LabVIEW 2017 Help
LabVIEW 2018 Help
LabVIEW 2019 Help

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

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.

WAS THIS ARTICLE HELPFUL?

Not Helpful