LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML Parser

A couple of years ago I needed to access XML-Files on a Windows system and I tried LabXML but had some problems with getting the underlying library to run. Time was limited. So I went back in development history (As far as I understood is LabXML is a further development of MSXML) and I used the MSXML package (Also available from labxml.sourceforge.org). Today I am not sure about the version.

Nevertheless it is quite laborious to scan the XML tree, add a node and fill the node with data just to write e. g. an Integer to a file. So I build a wrapper LabView-Library to make access to XML as simple as a writing to a configuration file. The palette view is as shown below.

 

Regards Jörn

 

palette.png

0 Kudos
Message 11 of 15
(1,792 Views)

LabXML still uses MSXML, though there's a version that uses the open-source libxml. On Windows at least, I found the libxml implementation to be considerably slower than the MSXML version. Of course, either one ran circles around trying to use .NET. Smiley Very Happy

 

You are right in that the package is cumbersome to use.

0 Kudos
Message 12 of 15
(1,779 Views)

It is also awkward that it uses MSXML 4.0 which does not automatically installs when Windows XP is set up. Older and newer versions of MSXML from Microsoft are automatically installed.

0 Kudos
Message 13 of 15
(1,761 Views)

Hi Jim,

 

thank you for the clarification.

I need it for a framework we are starting to implement and will support LV 8.5.1, LV 8.6.1f1 and LV2009. We need the older versions since our customers are not willing to update and upgrade as NI does.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 14 of 15
(1,753 Views)

We made some tests using Easy XML on LV RT. You can see the test results in the JKI Software Forum.

Waldemar

Using 7.1.1, 8.5.1, 8.6.1, 2009 on XP and RT
Don't forget to give Kudos to good answers and/or questions
0 Kudos
Message 15 of 15
(1,721 Views)