From Friday, April 19th (11:00 PM CDT) through Saturday, April 20th (2:00 PM CDT), 2024, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

XML from Movicon

Hi everybody,

 

I'm attempting to read an XML file created from a Visual Basic Script in Movicon.

My VI shows this error: "Error -2628 An error occurred while parsing the document".

By reading XML files created with Labview, with the same VI, I don't get any problems. The problem occurs only with files generated in Movicon.

Do I have to include a particular heading in Movicon?

Does anybody ever dealt with this problem? 

 

Thanks in advance for any advice

0 Kudos
Message 1 of 2
(2,820 Views)

Hi ABgpe,

 

have you tried comparing an XML file created in LabVIEW with one created in Visual Studio? Do you see any difference in the way they are made? There's a nice add-on in Notepad++ that highlights the differences between two files, I think it's called Compare. Have you tried reading the XML created in Visual Studio with other programs as well?

 

Best,

 

CorraDIT

0 Kudos
Message 2 of 2
(2,781 Views)