LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

read write from xml file

Hi

 

Please see attach file , I build a vi that read from XML file , what I want to do change new value and saved it instead of the old one in the same file  , then read it again and if I want to change it will be the same

It kind of data base from xml ( read \ write )

 

How can I do that ?

 

i look at labview example but there is read alone and write vi , not read\write

 

Thanks for your help

 

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

Hi elyan,

There are numerous ways you can do this. One is to simply plug in both the write and read XML VIs into a case structure to decide when to read or write. The other way is to use event based triggering.

If you simply want to read and write after modifying, you can use the Read From XML File.vi first, then do the modification and then do Write to XML File.vi in a sequence. There are other architectures too that you can use. It ultimately depends on the user interface/program functionality you desire. Hope this helps.

0 Kudos
Message 2 of 3
(3,040 Views)
0 Kudos
Message 3 of 3
(3,026 Views)