12-06-2007 10:32 AM
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
12-09-2007 06:20 PM
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.
12-10-2007 03:54 AM