Hi everybody
I'm currently developing a remote logging system (still in the design phase) Basically
the system is as follows: I need to send a command to a device (using RS232) and wait
for the response (the data). This must be done exactly every second. On a previous
system I used the one-pulse-per-second output from a Garmin 25 GPS module. This
allowed me to have a reasonably accurate one second control signal and well as time
data (hh:mm:ss) to timestamp the data. This was all controlled by a dedicated
microcontroller. The formatted data and time was then send using the NMEA protocol
over RS232 (or RS485). My Linux server read the data from the serial line, write it to
a buffer (and to disk). This data can then be viewed and downloaded with client
software(Win32) using TCP\IP
For my current project, the client wants preferably a software soultion and not a
dedicated hardware solution. It is mostly the same setup, just different data being
logged. I want to try to do the same setup using RT-Linux. I can use the RT-Com driver
to do the RS232-communications-but how do I handle the time issue?
More info:
-the time (in UT) is used to index the data - the actual time of day when command was
sent to the device is quite important.
Any suggestions?
Thanks in advance
Herman
****************************************
Herman Theron
Hermanus Magnetic Observatory
CSIR
PO Box 32
Hermanus
7200
South Africa
E-mail: [EMAIL PROTECTED]
Phone: +27 28 3121196
Fax: +27 28 3122039
Cel: +27 83 297 3358
--- [rtl] ---
To unsubscribe:
echo "unsubscribe rtl" | mail [EMAIL PROTECTED] OR
echo "unsubscribe rtl <Your_email>" | mail [EMAIL PROTECTED]
----
For more information on Real-Time Linux see:
http://www.rtlinux.org/~rtlinux/