[time-nuts] GPS-18, Windows, NTP & Lat Lon
Jim Lux
jimlux at earthlink.net
Wed Sep 4 15:16:50 UTC 2013
On 9/4/13 7:35 AM, Didier Juges wrote:
> Jim,
>
> You should be able to piggyback a second serial port in parallel with the one used by NTP (just the Rx line and ground) and use any NMEA decoder.
> It does not even have to be the same computer.
>
> I have a quick NMEA decoder for Windows I wrote some time ago somewhere.
>
Heck, for my application it could be as simple as QBASIC
REM Open serial port
OPEN #1, "COM1:"
REM Read next three messages
FOR I=1, 3
LINE INPUT #1, A$
B$ = B$+A$
NEXT I
REM Close Serial port
CLOSE #1
REM Look for $GPRMC message and parse
k = INSTR(B$, "GPRMC")
if k = 0 then
die a miserable death with an error message
else
finish parsing..
end if
More information about the Time-nuts_lists.febo.com
mailing list