View Single Post
  #3 (permalink)  
Old 12-15-2007, 10:35 AM
schimanski schimanski is offline
Knows the basics
 
Join Date: Oct 2007
Posts: 57
Default GPSStream

Hello Erel, thanks for your fast answer.

But I have two problems with GPS.GPSStream: First i have give a kompletly NMEA-String to the GPSStream like


Sub Globals
NMEA="$GPGGA,161229.487,3723.2475,N,12158.3416,W,1 ,07,1.0,9.0,M,,,,0000*18"

end Sub

Sub Timer1_Tick
if NMEA<>"" then
gps.GPSStream(NMEA)
end if
End Sub

Sub GPS_GPSDecoded
Label1.text=gps.latitude
...
end Sub


but the GPS_GPSDecoded -Sub was not call. So I have call this Sub manuell, but there is no data from the NMEA-Protocol. I have tested it with GPGGA an GPRMC. What else i need to call the GPS_GPSDecoded, if the GPSBuffer have enough data?

The second Problem is, that my application takes the data from a GPS-mouse and the GPS-data from the server at the same time, because i calculate then distance and course of this two points. When I use the GPS.dll for both, the GPSBuffer takes the data from the GPS-mouse and from the server, so that I must have two different GPS-Objekts with two different GPS-Buffer.

To take the data from the server is my last problem of the application, then it run.

Frindly greetings

schimanski
Reply With Quote