GPSFix objects
Indicates whether the position fix uses the standard Global Positioning System (GPS) or Differential GPS (DGPS). DGPS has an additional correction signal that improves the accuracy of the GPS. Values are:
The FixQuality property is an integer that indicates the quality of the fix. In this example, the SerialGPS object retrieves information about the current fix and, based on that information, writes an appropriate string value to a single line edit box:
integer li_quality li_quality = myFix.FixQuality CHOOSE CASE li_quality CASE 0 sle_quality.text = "Invalid fix" CASE 1 sle_quality.text = "GPS fix" CASE 2 sle_quality.text = "DGPS fix" END CHOOSE
Copyright © 2004. Sybase Inc. All rights reserved. |
![]() |