LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to create xml parameter file which "follow" typedef changes?

Hi All,

 

I have done program which create a xml-file from typedef. My target is save and read parameters from xml-file. The problem is that when I add new elements to typedef all old parameter values are set to default values. I have quite many parameters and I need to add/remove parameters during the development. Is there a way copy old values to new ones if names are equal? In speudo code I need to following things:

 

1. Read parameter names and values from old file

2. Create new XML-file

3. Replace old parameters in xml-file with new ones if names match

 

#1 and #2 are easy to program but #3 is more complicate.

 

BR,

 

Jim

0 Kudos
Message 1 of 1
(2,931 Views)