LabWindows/CVI

cancel
Showing results for 
Search instead for 
Did you mean: 

Create/USE XML initialization file

Hello everyone,

 

I have a request to create configuration file using XML format. I am familiar with *.ini files for now, and didn't use XML yet. 

The primary objective of that file is to initialize program parameters/variables on startup. 

 

I am following this XML topic regarding XML advantages and fp file location.

I would kindly appreciate any simple example that provides a functionality that I described above. 

 

Thanks in advance for any tip or example.

0 Kudos
Message 1 of 3
(3,731 Views)

CVI already comes with an example on how to read/write XML files. The best way to locate the example if by means of the Example Finder: execute Help >> Find examples... menu function and NI Example Finder window will open. Select Search in the tab on the left and input "XML", then double click on it in the list of keywords: a list of xml-related examples will show on the right: the basic example is XMLsample.cws: double click on it and it will automatically open in CVI.



Proud to use LW/CVI from 3.1 on.

My contributions to the Developer Community
________________________________________
If I have helped you, why not giving me a kudos?
Message 2 of 3
(3,690 Views)

Thank you Roberto, I'll take a look at it.

0 Kudos
Message 3 of 3
(3,673 Views)