I'm missing something obvious. I was playing with the GPS example, and the section where the satellite information is being displayed in a label.. I copied that section of cod ein to a Boy Scout program Im working on, and for the life of me All it displays is "satellites:". Added logfile trackina dn the loop is executing.. What setting in the designer or what did I miss to set. The example program runs perfectly.
This is driving me crazy. Thanks
Dr. Mike
B4X:
Sub GPS_GpsStatus (Satellites As List)
lblSatellites.Text = "Satellites:" & CRLF
For i = 0 To Satellites.Size - 1
Dim Satellite As GPSSatellite
Satellite = Satellites.Get(i)
Log("i="&i&" used in fix="&Satellite.UsedInFix&" prn#="&Satellite.Prn)
lblSatellites.Text = lblSatellites.Text & CRLF & Satellite.Prn & _
" " & Satellite.Snr & " " & Satellite.UsedInFix & " " & Satellite.Azimuth _
& " " & Satellite.Elevation
Next
End Sub
This is driving me crazy. Thanks
Dr. Mike