JKI Discussion Forums
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

More complex xml structure does not work with easy xml Ni XML works for this case EASY XML does not

#1
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hi,

Easy XML has broken my heart, it refuses to parse complexer structures.
Please, give a look in this dirty example:Attached File  EASY_XML_does_not_work_NI_XML_works.vi (33.81K)
Number of downloads: 70

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

This post has been edited by hburd: 29 September 2010 - 02:33 AM

0 kudos

#2
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View Posthburd, on Sep 28 2010, 07:29 PM, said:

Hi,

Easy XML has broken my heart, it refuses to parse complexer structures.
Please, give a look in this dirty example:Attachment EASY_XML...ML_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
0 kudos

#3
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
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
Attached Image: easy_xml_error_91.png

Attached File  EASY_XML_does_not_work_NI_XML_works22.vi (28.54K)
Number of downloads: 55

View PostJim Kring, on Sep 28 2010, 08:25 PM, said:

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

This post has been edited by hburd: 29 September 2010 - 03:24 PM

0 kudos

#4
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View Posthburd, on Sep 29 2010, 08:16 AM, said:

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
Attachment easy_xml_error_91.png

Attachment EASY_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:

Attached Image: monthly_09_2010/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.
0 kudos

#5
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hi,

I am sure I am doing the right thing choosing 2 # names:
Attached Image: monthly_09_2010/post-2790-1285774943.png

thanks

View PostJim Kring, on Sep 29 2010, 08:29 AM, said:

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:

Attachment 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.

0 kudos

#6
User is offline   hburd 

  • Group: Members
  • Posts: 15
  • Joined: 25-October 09
  • Gender:Male
  • Location:usa
Hi Jim,

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

Anyway thanks for all.

Helcio

View Posthburd, on Sep 29 2010, 08:44 AM, said:

Hi,

I am sure I am doing the right thing choosing 2 # names:
Attachment easy_xml2.png

thanks

0 kudos

#7
User is offline   Jim Kring 

  • Group: JKI Team
  • Posts: 1,204
  • Joined: 15-March 06

View Posthburd, on Sep 30 2010, 09:02 AM, said:

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 :)
0 kudos

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic