Sign up ×
Arduino Stack Exchange is a question and answer site for developers of open-source hardware and software that is compatible with Arduino. It's 100% free, no registration required.

I've got an interesting idea to realise using my PC and Arduino, but I'm not sure whether it is possible to realise, so I'm asking for your advice. I'm a novice in programming, so my question may seem noob-ish.

I have an XML file on a server (not mine), which keeps updating several times a day. It looks like

<x>timestamp1;timestamp2;timestamp3</x>
<y>value1;value2;value3</y>

, where the value1,2,3... are the values of a parameter at the specified time (for example value1 is a value at timestamp1 etc.).

The thing I want to do is to take the last value from the <y></y> block and to transfer it in some way to Arduino (maybe through the serial port, as my PC will be turned on at the time) - and then repeat the operation after some time (for example 2 or 3 hours) to get an updated value. The remaining part (to send it to the display) will be easy.

Do you have any ideas or any links to some related materials or tutorials? Thanks for any help!

Paul.

share|improve this question
    
Have you considered running a script on the server that will return only those values, and then usin gan Ethernet of Wifi shield to talk to the server? – Ignacio Vazquez-Abrams Dec 16 '14 at 19:31
1  
Is this question asking how to get the data from the server to arduino or how to parse it on the arduino? – sachleen Dec 19 '14 at 18:34

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.