µTasker Forum
µTasker Forum => µTasker general => Topic started by: lthyagar on September 26, 2009, 03:19:39 AM
-
Hello Mark, I am having trouble updating real time data on the webpage for the SAM7x. I did go through one of your posts on how to do it, but I still have not been able to get the data to the webpage.
What command or function does the application need to use to get the data to webserver?
How to map the data point on the application side to the webpage? for e.g. a counter value from "my task" to the webserver.
Thanks!!
Lav
-
Hi Lav
If you would like a value to be displayed when a web page is refreshed you need to add the variable to the function fnInsertString() in webInterface.c.
Take a look at how the other variables are being displayed there; basically the routine in inserting strings at a location specified by "£vXY" on the web page (HTML being served). The "XY" values (which can be extended in length if required) are used to know which value to insert.
This is over-viewed here:
http://www.utasker.com/forum/index.php?topic=94.0
Regards
Mark