Company Events Academic NI Developer Zone Support Solutions Products & Services Contact NI MyNI

Using Configuration File VIs

LabVIEW 8.5 Help
August 2007

NI Part Number:
371361D-01

»View Product Info

Use the Configuration File VIs to read and create standard Windows configuration settings (.ini) files and to write platform-specific data, such as paths, in a platform-independent format so that you can use the files these VIs generate across multiple platforms.

Complete the following steps to use the Configuration File VIs.

  1. Use the Open Config Data VI to open a reference to a configuration data object. A configuration data object is a preference or setting for the configuration of the operating system.
  2. After you open the reference to the configuration data object, use the Read Key VI and the Write Key VI for each data type to read and write values entered by the user.
Note  The Write Key VI modifies only data in memory.
  1. Use the Close Config Data VI to close the reference to the configuration data object. You can write the current contents of the configuration data object to a configuration settings file by running the VI.
Note  LabVIEW does not write the file until you call the Close Config Data VI with the write configuration file? input set to TRUE.

Resources


 

Your Feedback! poor Poor  |  Excellent excellent   Yes No
 Document Quality? 
 Answered Your Question? 
Add Comments 1 2 3 4 5 submit