Hi all,
I have faced a weird behavior of the WebViewer, that I would share with you guys, to have your opinion about.
While connecting a web site (the weather forecast of the Italian Aeronautical Force) by using the Webviewer function it gives me back the error "You don't have the rights to access the information required or it cannot be read by the server".
Tthe strange thing is that the problem can be overcome if i repeat the reload opereration as much as 5 times.
The Clock1 blocks that helped me to solve the problem are here below.
The structure is quite simple: by pushing a button I start the timer that fires 5 times (global variable "quale"): every time it fires, it reloads the URL. Every period is 1 second (total 5 seconds).
After 5 times I eventually enable the Webviewer display and it shows correctly the weather forecast.
The question is then: why it requires to be reloaded "many" times before being capable to show the URL data ?
Therefore, supposing that the Webviewer is somewhat an "asynchronous" component, is there any other "trick" to leave it the time to operate ?
It isn't a big deal, since it works, but for sake of understanding the truth (or at least the things behind the scenes :-)) what are your thoughts about ?
Many thanks for the time spent in reading me.
All the best.