About GPS ToolKit
Introduction
Purchasing GPS ToolKit
Redistributing GPS ToolKit
License Agreement
Support
Getting Started
How to Use GPS ToolKit
Adding GPS ToolKit to a Visual Basic Project
Adding GPS ToolKit to a Visual C++ Project
Adding GPS ToolKit to an Excel Worksheet
Setting up the GPS
How to Use Events
Handling Events in Visual Basic
Handling Events in Visual C++
Handling Events in Microsoft Excel
GPS ToolKit Sample Projects
Handling GPS ToolKit Errors
Reference
Properties
Altitude
AltitudeUnits
ArrivedAtDest
AutomaticOperation
BaudRate
CrossTrackError
DegLabel
DestClosingVelocity
DestWptID
DestWptLatitude
DestWptLongitude
DistUnits
DGPSRefStationID
FixDateTime
FixGood
FixQuality
FixSatellitePRNs
GeoidHeightAboveWGS84Ellipsoid
HDOP
Latitude
LatLonFormat
Longitude
MagVariation
MinLabel
ModeIndicator
NumSatellitesInFix
NumSatellitesInView
OperationMode
OrigToDestMagBearing
OrigToDestTrueBearing
OriginWptID
PDOP
PortHandle
PortName
RangeToDest
RouteContainsAllWpts
RouteName
SatelliteInViewPRNs
SecLabel
Speed
SpeedUnits
TimeSinceLastDGPSUpdate
TrueBearingToDest
TrueCourse
VDOP
WptsInRoute
Methods
Close
GetSatelliteInfo
GetWptLocation
Open
OpenFile
Events
FixUpdate
FileComplete
NavUpdate
RawDataReceived
SatelliteUpdate

FixUpdate Event

Triggered when the new fix information has been received from the GPS.

Syntax

Visual Basic

Private Sub GPSToolKitObject_FixUpdate(ByVal FixGood As Variant, ByVal FixDateTime As Variant, ByVal Latitude As Variant, ByVal Longitude As Variant, ByVal Altitude As Variant, ByVal Speed As Variant, ByVal TrueCourse As Variant)

Visual C++

void CMyWindowName::OnFixUpdateGpstoolkit(const VARIANT FAR& FixGood, const VARIANT FAR& FixDateTime, const VARIANT FAR& Latitude, const VARIANT FAR& Longitude, const VARIANT FAR& Altitude, const VARIANT FAR& Speed, const VARIANT FAR& TrueCourse)

Arguments

Argument Description
FixGood a VARIANT (type VT_BOOL/bool) containing the current fix validity
Latitude a VARIANT (type VT_BSTR/BSTR/VB String) containing the current latitude
Longitude a VARIANT (type VT_BSTR/BSTR/VB String) containing the current longitude<
Altitude a VARIANT (type VT_R8/double) containing the current altitude
Speed a VARIANT (type VT_R8/double) containing the current speed
TrueCourse a VARIANT (type VT_R8/double) containing the last current true course

Remarks

  • This event is fired when the $GPGLL, $GPGGA, or $GPRMC sentence is received.
  • All arguments passed into this function behave just as the properties of the same name including their units and interpretations.
  • See Using GPS ToolKit Events for information and instructions regarding GPS ToolKit event handling.

Errors

None

See Also

Latitude property, Longitude property, Altitude property, FixGood property, FixDateTime property, Speed property, TrueCourse property, Using GPSToolKit Events, Handling Events in Visual C++, Handling Events in Visual Basic