ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Using XML-Files on RT-Tragets

Hi

i have an application which stores it's configuration in a XML-File. The Vi runs perfect on Windows as execution target.

But running the Vi on the RT-engine fails with error 1108 while loading the XML-formated config file.

-------------------
error 1108

Possible reasons:

LabVIEW: XML value text is illegal or out of range for type and/or format.

-------------------

The XML-file can't be illegal, because the same Vi works on an other excecution target.


Any ideas what's wrong?

Is the RT-engine unable to handle XML-files?

Regards Till
0 Kudos
Message 1 of 2
(4,284 Views)
Till,

that's true. Not all VIs are supported in LV RT as it states in the LV RT User Manual (7.0, page 1-7, 1-8). In your case the XML VIs require the MS XML DOM parser that is getting installed with LabVIEW on Windows and is unfortunatelly not available on the RT platform (Pharlap).

I don't know if there is a XML workaround or if NI will integrate other OS independent XML parsers which would run on RT.

You might consider to use the .ini file approach for the RT platform - I assume this should work.

Roland
0 Kudos
Message 2 of 2
(4,284 Views)