Page 1 of 1

Web Server problems. EB023.

Posted: Sat Dec 01, 2012 6:00 pm
by infinitusCR
I am using the web server component with the EB023 board and the browser is not displaying the content correctly. Sometimes part of the html code is displayed. Usually the content is displayed correctly only when loaded for the 1st time, any further requests produce these errors. What could be the issue? This is the html code:

<!DOCTYPE html>
<html>
<head>
<title>Estacion Meteorologica</title>
<input type="button" value="Reload Page" onClick="document.location.reload(true)">
</head>
<body BGCOLOR="#FFFFFF">
<font face="arial">
<h1>Estacion Meteorologica</h1>
<p>Temperatura = %BOO1% </p>
</font>
</body>
</html>

I am using chrome and IE. Both present this problem.

Re: Web Server problems. EB023.

Posted: Mon Dec 03, 2012 9:42 am
by DavidA
Hi, what version of the EB023 are you using, this can be found on the board, it will be written in the form EB023-00-X, where X is the version of the board.

Also what version of Flowcode are you using?

Have you updated to the latest version? Check whether your version is the latest version by going to Help >> Check for Updates within Flowcode.

Re: Web Server problems. EB023.

Posted: Mon Dec 03, 2012 10:29 am
by LeighM
Your problem might be that you have "<input type= ..." in the header when it should be in the body.

Re: Web Server problems. EB023.

Posted: Wed Dec 05, 2012 10:26 pm
by infinitusCR
Hi,

The E-Block is version 00-2 and Im using Flowcode version 4.2. I managed to correct the problem in the following way:
The check socket activity was within a while loop. I added a delay (5 seconds) after the macro and it got solved.

I still dont understand what the problem was... Any thoughts...

Ed