User Tools

Site Tools


api:dk11:net:tatukgis.ndk.winforms.tgis_gpsnmea

TGIS_GpsNmea class

DK11 for .NET | TatukGIS.NDK.WinForms.TGIS_GpsNmea | Classes | Constructors | Methods | Properties | Events

GPS NMEA devices support.

Following NMEA messages are interpreted: - GSA for obtaining visible satellites count and precision - GGA for obtaining altitude - RMC for obtaining position and speed and course

Available also on: Delphi VCL.

Syntax

// C#
public class TGIS_GpsNmea : System.Windows.Forms.Panel
{
}
' VisualBasic
Public Class TGIS_GpsNmea
  Inherits System.Windows.Forms.Panel
End Class
// Oxygene
type
  [Description('GPS NMEA devices support.')]
  [ToolboxBitmap(typeOf(TGIS_GpsNmea))]
  TGIS_GpsNmea = public class( System.Windows.Forms.Panel )
  end;

Inheritance

→ System.Windows.Forms.Panel

Constructors

Inherited Overrides Protected
Name Visibility Description
TGIS_GpsNmea() public Create an instance.

Methods

Inherited Overrides Protected
Name Visibility Description
checkLocation protected Event handler for locations services check.
checkTime protected Event handler for 'is living' check.
Dispose protected Clean up any resources being used.
ParseMessage public Interpret a single NMEA message.
ParseText public Interpret a text as a raw NMEA stream.
rxChar protected Event handler for receiving characters from the serial port.

Properties

Inherited Protected
Name Visibility Description
Active public Activity state.
Altitude public Current Altitude (in meters).
AltValTxt public Text representation of altitude value.
BaudRate public Serial port baud rate.
Com public Serial port number.
Course public Current Course (in radians).
CourseValTxt public Text representation of course value.
Latitude public Current Latitude (in radians).
LatValTxt public Text representation of latitude value.
Longitude public Current Longitude (in radians).
LongValTxt public Text representation of longitude value.
PositionPrec public Precision of position readings (in meters).
PositionTime public Time of last position reading received from the GPS device as Coordinated Universal Time (UTC).
PrecValTxt public Text representation of precision value.
Satellites public Number of satellites that are currently visible.
SatValTxt public Text representation of satellite number value.
Speed public Current Speed (in km/h).
SpeedValTxt public Text representation of speed value.
Timeout public Timeout, after which the GPS device will be treated as non-receiving.
TimeValTxt public Text representation of time value.

Events

Inherited Protected
Name Visibility Description
NmeaEvent public Event fired on each messages received from the GPS device.
NmeaMessageEvent public Event fired on each messages received from the GPS device.
PositionEvent public Event fired on each position messages received from the GPS device.

Remarks

All data acquired from the GPS NMEA device are related to the WGS84 ellipsoid.

References

2019/02/08 01:35