ts-7000
[Top] [All Lists]

Re: RE : Re: [ts-7000] TS-7260 Web Server + rtc

To:
Subject: Re: RE : Re: [ts-7000] TS-7260 Web Server + rtc
From: "Don W. Carr" <>
Date: Mon, 28 Aug 2006 21:46:59 -0500
And, Firefox really works best here. IE has the nasty habit of sending you back to the top of the page after each update, so if you want to do real-time displays that don't fit on one page, you really do need to use Firefox. For instance, we did a table that was filled out in real-time as trains leave the station, and it works great with Firefox, but not IE. Overlapping images also work very well. Don.

On 8/28/06, David L. Martin < > wrote:

On Mon, 2006-08-28 at 22:59 +0200, Mr Stagiaire wrote:
> Thanks but how to generate the file (for exemple index.html) from a C
> program?
>
> "Don W. Carr" <doncarr%40gmail.com> a écrit :
>
> The easiest way to create web page that update dynamically based on real-time data,
> is to just periodically regenerate the file from a C program, and include the two
> shown below so that your browser automatically refreshes. I have done this with
>
> great success for tables, overlapping images that move, even just plain text.

Your reading too much into the solution proposed by Don.

What he is talking about is just periodically writing a new index.html
(or any .html file) from within your 'C' program. It really is a simple
as it sounds, just do an open, then some writes, then a close. Your 'C'
program will re-create the index.html file every so often.

You might want to put the file on a ramdisk, or your going to quickly
wear out the flash.

You can expand this solution by having a static index.html that displays
your change-able.html in a frame, etc.


--
David L. Martin
w0snj%40speakeasy.net

In a world without walls and fences - who needs Windows and Gates?




--
Dr. Don W. Carr
J. G. Montenegro 2258
Guadalajara, Mexico
+52-333-630-0704
+52-333-836-4500 ext 2930 __._,_.___


SPONSORED LINKS
Single board computer Hardware Computer running slow
Linux os Single board


YAHOO! GROUPS LINKS

  •  Visit your group "ts-7000" on the web.
     
  •  To unsubscribe from this group, send an email to:
     =Unsubscribe
     
  •  Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.



__,_._,___
<Prev in Thread] Current Thread [Next in Thread>
Admin

Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU