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

NumSatellitesInView Property

Returns the current number of satellites in view of the GPS.

Syntax

Visual Basic

object.NumSatellitesInView

Visual C++

object.GetNumSatellitesInView()

Part Description
object An object expression that evaluates to a GPS ToolKit object.

Example

Visual Basic

Dim numSatellitesInView As Integer

'Get number of satellites in view
numSatellitesInView = myGPSToolKit.NumSatellitesInView

Visual C++

_variant_t vtNumSatellitesInView;

// Get number of satellites in view
vtNumSatellitesInView = m_myGPSToolKit.GetNumSatellitesInView();
short numSatellitesInView = (short)vtNumSatellitesInView;

Remarks

None

Default

Empty (VT_EMPTY)

Returns

A VARIANT (type VT_I2/short) containing the number of satellites in view. If no satellite in view data is reported the variable will be empty (type VT_EMPTY).

Errors

None

See Also

NumSatellitesInView property, FixQuality property, ModeIndicator property, SatelliteUpdate event