Actualize the html page of the urcap

Hi everyone,

I have created an URCAPS and on my page i use a light button. So this light button change color if a digital IO is active.
My problem is, when my URCAPS is runing on my robot the HTML page is only refreshed at its opening.
I would like to see the light button changing color whenever the digital IO change and without having to leave and return to the page.

How can i do it ?

Thank for your help.

Take a look at the timer implemented in the openView() and closeView() calls of this sample:

Thanks for your help, it’s what I needed it