LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML Parser

Hi

is there a smart XML-parser-vi available?

Mareike
Message 1 of 15
(7,946 Views)
The following link has information related to your question.

http://exchange.ni.com/servlet/ProcessRequest?RHIVEID=101&RPAGEID=135&HOID=506500000008000000A4110000&UCATEGORY_0=_49_%24_6_&UCATEGORY_S=0
0 Kudos
Message 2 of 15
(7,946 Views)
Well, I myself couldn't get the link to work.

I would like to also express interest in an XML Parser FOR LABVIEW. I don't want Active X, I don't want Java, I don't want a dll.

If anyone out there has an XML Parser written in LabVIEW, and would be willing to sell or give a copy, please post here.

NI - are you guys putting one together for the next release of the Enterprise Connectivity toolset?

Thanks
0 Kudos
Message 3 of 15
(7,946 Views)
I'm with you. One of the beauties of XML is platform independence - it is a crime to muck that up w/ ActiveX, etc...

I am not so much looking for an XML parser, as I am an XML "Creator".

(While it would seem trivial to create an XML creator - it can actually get quite complex if you want to insert new items in the middle of a hierarchy, etc)

I would pay big bucks if someone else has already solved this problem.
Message 4 of 15
(7,946 Views)
and I want to let you pay me big bucks to solve this problem.
0 Kudos
Message 5 of 15
(7,946 Views)


@Mareike wrote:
Hi

is there a smart XML-parser-vi available?

Mareike


There is, now!  JKI has just released a new toolkit called EasyXML that can easily handle arbitrary XML.

Regards,

-Jim
Message 6 of 15
(7,329 Views)

Hello Jim,

 

the documentation states it will run on Windows, Mac and Linux. Since it is pure G  will it work on a LV RT-Target like Pharlab based PXI-Controllers.

I'm asking this because we need to write an app for a PXI RT System interfacing to a Windows app written in C#. The interface is using TCP/IP and all data will be transfered as XML.

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 7 of 15
(6,929 Views)

waldemar.hersacher wrote:

Hello Jim,

 

the documentation states it will run on Windows, Mac and Linux. Since it is pure G  will it work on a LV RT-Target like Pharlab based PXI-Controllers.

I'm asking this because we need to write an app for a PXI RT System interfacing to a Windows app written in C#. The interface is using TCP/IP and all data will be transfered as XML.


 

Hi Waldemar,

 

Yes, EasyXML works great in LabVIEW RT (you can download and try out the demo version to be sure).

 

Note: If you are running LabVIEW 2009, you have nothing to worry about.  If you are running LabVIEW 8.x, you'll need to make sure that you have the OpenG Array library (oglib_array) version 2.7 installed (not version 3.0, which is the latest), otherwise EasyXML will be broken in LabVIEW RT.  The OpenG Array library 3.0 added support for LabVIEW Objects, but LabVIEW RT 8.x does not support objects -- this is why it breaks.

 

If you have any issues getting this to work, please post to our EasyXML support forum.

 

Regards,

 

-Jim

0 Kudos
Message 8 of 15
(6,924 Views)

There is an XML Parser with the Base Package. But I haven't used it yet. But I will test it in the near future.

 

I build an own XML-Package. It is based on the MSXML-toolkit. But this uses Microsofts MSXML 4.0 DOM components. So it is only available on Windows and there not for 64 bit systems.

 

My package works like the configuration VIs. You give a section and key to access data. Section and key are combined to Xpaths so that you can arbitrarily read and write from an XML-file. So you can read and/or from anywhere in the main program to any XML tag on any level. You don't have to bother with any order of tags. It will also jump over unknown tags. So accessing XML-files is extremly robust to extentions in the data format. This is due to the underlying DOM (Document Object Modell).

 

But I haven't the nice feature to write a cluster at once to an respective nested XML-structure like with JKI EasyXML.

 

Regards Jörn 

0 Kudos
Message 9 of 15
(6,892 Views)

Jörn wrote: 

I build an own XML-Package. It is based on the MSXML-toolkit. But this uses Microsofts MSXML 4.0 DOM components. So it is only available on Windows and there not for 64 bit systems.


Would that be like the LabXML package?

0 Kudos
Message 10 of 15
(6,881 Views)