Web Server problems. EB023.

For E-blocks user to discuss using E-blocks and programming for them.

Moderators: Benj, Mods

Post Reply
infinitusCR
Posts: 7
Joined: Sat Dec 01, 2012 5:54 pm
Has thanked: 1 time

Web Server problems. EB023.

Post 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.

User avatar
DavidA
Matrix Staff
Posts: 1076
Joined: Fri Apr 23, 2010 2:18 pm
Location: Matrix Multimedia Ltd
Has thanked: 58 times
Been thanked: 258 times
Contact:

Re: Web Server problems. EB023.

Post 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.

User avatar
LeighM
Matrix Staff
Posts: 2178
Joined: Tue Jan 17, 2012 10:07 am
Has thanked: 481 times
Been thanked: 699 times

Re: Web Server problems. EB023.

Post by LeighM »

Your problem might be that you have "<input type= ..." in the header when it should be in the body.

infinitusCR
Posts: 7
Joined: Sat Dec 01, 2012 5:54 pm
Has thanked: 1 time

Re: Web Server problems. EB023.

Post 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

Post Reply