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

SatelliteUpdate Event

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

Syntax

Visual Basic

Private Sub GPSToolKitObject_SatelliteUpdate(ByVal AutomaticOperation As Variant, ByVal OperationMode As Variant, ByVal NumSatellitesInView As Variant, ByVal HDOP As Variant, ByVal PDOP As Variant, ByVal VDOP As Variant, ByVal FixSatellitePRNs As Variant, ByVal SatelliteInViewPRNs As Variant)

Visual C++

void CMyWindowName::OnSatelliteUpdateGpstoolkit(const VARIANT FAR& AutomaticOperation, const VARIANT FAR& OperationMode, const VARIANT FAR& NumSatellitesInView, const VARIANT FAR& HDOP, const VARIANT FAR& PDOP, const VARIANT FAR& VDOP, const VARIANT FAR& FixSatellitePRNs, const VARIANT FAR& SatelliteInViewPRNs)

Arguments

Argument Description
AutomaticOperation a VARIANT (type VT_BOOL/bool) containing the current automatic/manual GPS mode
OperationMode a VARIANT (type VT_I2/short) containing the current operation mode of the GPS
NumSatellitesInView a VARIANT (type VT_I2/short) containing the number of satellites currently in view
HDOP a VARIANT (type VT_R8/double) containing the current horizontal dilution of precision
PDOP a VARIANT (type VT_R8/double) containing the current positional dilution of precision
VDOP a VARIANT (type VT_R8/double) containing the current vertical dilution of precision
FixSatellitePRNs a VARIANT (type VT_ARRAY|VT_VARIANT / VB array) containing an array of PRN numbers (unique ID numbers) of the satellites used in the current fix
SatelliteInViewPRNs a VARIANT (type VT_ARRAY|VT_VARIANT / VB array) containing an array of PRN numbers (unique ID numbers) of the satellites in view

Remarks

  • This event is fired when the $GPGSA or $GPGSV 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

AutomaticOperation property, OperationMode property, NumSatellitesInView property, HDOP property, PDOP property, VDOP property, FixSatellitePRNs property, SatelliteInViewPRNs property, GetSatelliteInfo method, Using GPSToolKit Events, Handling Events in Visual C++, Handling Events in Visual Basic