ts-7000
[Top] [All Lists]

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

To:
Subject: Re: [ts-7000] TS-7260 Web Server + rtc
From: "Don W. Carr" <>
Date: Sat, 26 Aug 2006 22:56:50 +0000
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.

<META HTTP-EQUIV="refresh" CONTENT="5">
<meta http-equiv= "pragma" content="no-cache">

Below is a snippet showing overlaping images. In this case I had yellow squares
over a background, each yellow square indicating the position of a train. With
Firefox, the movement of the squares is quite smooth.

<div style ="position:absolute; top:50px; left:0px;">
<img SRC=Linea1Sur.png >
</div>

<div style="position:absolute; top:230px; left:64px; z-index:2" >
<img SRC=square.png>
</div>


On the real time clock, it's purpose is to set the system clock at startup.
After that, just use the regular C system calls to read and manipulate the
time.

Don.


On 8/26/06, stageelectronique <> wrote:

Hello

1.I have a web serveur on my TS 7260,and a HTML page. I would like to
send and see some information on that page: for exemple data from a
register,data from a variable in C program,rtc... it is possible?

2.I have an rtc on my TS,how to configure and use it in a C program :

for exemple: if( 12:00)
{...}
else
...
thanks




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