Jump to content

More complex xml structure does not work with easy xml


hburd

Recommended Posts

Hi,

 

Easy XML has broken my heart, it refuses to parse complexer structures.

Please, give a look in this dirty example:EASY_XML_does_not_work_NI_XML_works.vi

 

As you can verufy, easy xml writes an XML file but is unable to parse the data.

 

Unfortunately I will have to live with the NI XML Vis, since there is no other option for this case.

 

Please, let me know if anybody find a solution for this.

 

thanks

 

Helcio

Link to comment
Share on other sites

Hi,

 

Easy XML has broken my heart, it refuses to parse complexer structures.

Please, give a look in this dirty example:EASY_XML_does_not_work_NI_XML_works.vi

 

As you can verufy, easy xml writes an XML file but is unable to parse the data.

 

Unfortunately I will have to live with the NI XML Vis, since there is no other option for this case.

 

Please, let me know if anybody find a solution for this.

 

thanks

 

Helcio

 

Hi Helcio,

 

I tried your example (after disconnecting the typedefs) and it seems to work just fine.

 

What is not working? What do you see, as compared to what you expected to see?

 

Thanks,

 

-Jim

Link to comment
Share on other sites

Hi Jim,

 

This is very odd. Still, after disconecting all the type defs it continues not working. I expect not to get error 91 reading the xml file with easy xml read.

Thanks

 

Helcio

post-2790-1285772916_thumb.png

 

EASY_XML_does_not_work_NI_XML_works22.vi

Hi Helcio,

 

I tried your example (after disconnecting the typedefs) and it seems to work just fine.

 

What is not working? What do you see, as compared to what you expected to see?

 

Thanks,

 

-Jim

Link to comment
Share on other sites

Hi Jim,

 

This is very odd. Still, after disconecting all the type defs it continues not working. I expect not to get error 91 reading the xml file with easy xml read.

Thanks

 

Helcio

easy_xml_error_91.png

 

EASY_XML_does_not_work_NI_XML_works22.vi

 

Are you using the same file path for "Ni parse XML" as for "Easy xml"? I see that the default values for these two paths are the same:

 

EasyXML.png

 

If so, then you have a "race condition" since you're using the same file for testing both the NI XML and EasyXML VIs.

Link to comment
Share on other sites

Hi,

 

I am sure I am doing the right thing choosing 2 # names:

post-2790-1285774943.png

 

thanks

 

Are you using the same file path for "Ni parse XML" as for "Easy xml"? I see that the default values for these two paths are the same:

 

post-2-1285773999.png

 

If so, then you have a "race condition" since you're using the same file for testing both the NI XML and EasyXML VIs.

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

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