Jump to content

LV RT XML support


protocol

Recommended Posts

We do use the Read From XML File Unflatten From XML functions in RT (2009 SP1 on VxWorks for the moment) to read configuration files and these work fine. (These just support the LabVIEW XML schema.) Are you trying to use the XML Parser VIs, then?

Link to comment

The XML Parser in LabVIEW is based on DOM so it doesn't work in LV RT unfortuantely.

As Paul mentioned the Read From XML File Unflatten From XML functions, that use the LV schema, do work in LV RT.

In addition there are a couple of other tookits available that will work in LV RT and use their own schema. In the case of GXML the source code is open so you can adjust the schema to your needs. However, it is designed to store and load LabVIEW data (clusters), so typically the XML structure will be similar to the data structure in a LabVIEW cluster.

EasyXML: http://jkisoft.com/easyxml/

GXML: http://zone.ni.com/devzone/cda/epd/p/id/6330

I'm not aware of a true generic XML parser that works in LV RT, though you could use the GXML parser code as a start and write one.

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.