• Willkommen im Forum „Wetterstationsforum.info - Archiv“.
 

Neuigkeiten:

Dieses Forum dient ausschließlich zu Archivzwecken.
Für Fragen nutze bitte unser aktuelles Forum, welches du unter https://wetterstationsforum.info findest.

Hauptmenü

Building Waterproof box for web camera

Begonnen von weather1967, 30.01.2009, 17:45:25

⏪ vorheriges - nächstes ⏩

Holli

In
setTimeout("LoadBuffer()", xx);
must be xx the delay time in milliseconds.

20*1000=20.000ms=20s

If you change your interval only change the delay to your upload interval in seconds.
Dietmar

Eine Aussage, die durch ein Ausrufezeichen bekräftigt werden muß, ist zumindest zweifelhaft.
Eine Aussage, die durch mehrere Ausrufezeichen bekräftigt wird, ist definitiv falsch.
Der aktuelle Deppensport: Wir töten ein Akkusativ.

weather1967

I understand it,and i try it,but i do not see any differents from before ,before every 20 sec it make refresh,and now after the new code the same ,anyway thank you

Holli

At the moment the image is reloaded 28 times (every 0.7s) before there is a change after 20s. For what? It causes a lot of traffic with no effect.

Every image has around 67kb. Your visitors are loading around 1.8MB every 20s for nothing.
Dietmar

Eine Aussage, die durch ein Ausrufezeichen bekräftigt werden muß, ist zumindest zweifelhaft.
Eine Aussage, die durch mehrere Ausrufezeichen bekräftigt wird, ist definitiv falsch.
Der aktuelle Deppensport: Wir töten ein Akkusativ.

weather1967

MANNY THANKS Dietmar
Now i saw it,and now i fix it ,you are very correct.
One question yet,if i want to up load every 2 or 5 min ,i will have 1000* delay ,and 120 or 300 the var delay ?

Thanks a lot for all,because i do not know about codes  :oops:  


Zitat von: "Holli"At the moment the image is reloaded 28 times (every 0.7s) before there is a change after 20s. For what? It causes a lot of traffic with no effect.

Every image has around 67kb. Your visitors are loading around 1.8MB every 20s for nothing.

Holli

Zitat von: "weather1967"One question yet,if i want to up load every 2 or 5 min ,i will have 1000* delay ,and 120 or 300 the var delay ?
Correct.
Dietmar

Eine Aussage, die durch ein Ausrufezeichen bekräftigt werden muß, ist zumindest zweifelhaft.
Eine Aussage, die durch mehrere Ausrufezeichen bekräftigt wird, ist definitiv falsch.
Der aktuelle Deppensport: Wir töten ein Akkusativ.