Jump to content
hburd

More complex xml structure does not work with easy xml

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

Edited by hburd

Share this post


Link to post
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

Share this post


Link to post
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

Edited by hburd

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
Share on other sites

Hi Jim,

 

It all works fine now and I have no idea of what was causing the problem....

 

Anyway thanks for all.

 

Helcio

 

Hi,

 

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

post-2790-1285774943.png

 

thanks

Share this post


Link to post
Share on other sites
Hi Jim,

 

It all works fine now and I have no idea of what was causing the problem....

 

Anyway thanks for all.

 

Helcio

 

Hi Helcio,

 

That's great news! I'm happy that EasyXML is working for you :)

Share this post


Link to post
Share on other sites

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.

Loading...

×
×
  • Create New...

Important Information

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