This widget could not be displayed.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Read xml from url

Solved!
Go to solution

Hello all,

 

I am trying to get the data from this particular url : http://api.openweathermap.org/data/2.5/weather?q=London&mode=xml

 

I have no problem to parse it directly from a .xml or in xml chain. But I can't read the data directly from labview or even save the file at the url under a .xml.

 

I already looked for the example like read http website and other but didn't succeed to adapt to my url.

 

If any of you can help me

 

thank you

0 Kudos
Message 1 of 3
(3,688 Views)
Solution
Accepted by topic author derichbourg

Both of these seem to work just fine here in LV 2011:

 

 

get URL_BD.png

 

Note that the second one will require adding Datasocket support if you're building an installer and that the HTTP client VIs were only added around 2011.


___________________
Try to take over the world!
0 Kudos
Message 2 of 3
(3,652 Views)

Thanks a lot it works just fine. It seems I did my research the wrong way.

 

I'll take the first one for it's sufficient for what I intend to do (just getting the data).

 

 

Thanks again.

0 Kudos
Message 3 of 3
(3,635 Views)