08-03-2009 10:55 AM
Hi,
I have created an *.xml file form. How can I open this *.xml file by LabView and fill it's fields?
08-03-2009 11:47 AM
08-04-2009 04:35 AM
I work with LabView 8.6.
I can read the xml file, xml file's elements, but I can't replace it's values with another value. Can you help, how can I do that?
08-04-2009 09:09 AM
I don't quite understand your question. The Node Value property for an XML node lets you set the value.
Have you taken a look at the examples that ship with LabVIEW? If you search for "xml" there's an example called "Temperature Test Data" that extracts information from an XML file, showing you how to use the XML Parser functions.
08-04-2009 09:44 AM
My *.xml file has a form:
<Header>
<General>
<FileInfo>
<Name>File01.xml</Name>
<Description>DSC00</Description>
<DateCreated>20/06/2009 02.54.06 PM</DateCreated>
<DateModified>27/08/2009 07.26.59 PM</DateModified>
<Version>1.0</Version>
...
My problem is to read the file and to do changes in it. For example, I want to change the line
<version>1.0</version>
to
<version>2.0</version>
There are Invoke nodes like GetElement, GetAttribute ... and I could read the values of elements. But I can't find
how to change these values.
The examples of LabView didn't help me.
08-04-2009 12:28 PM