|
GPS ToolKit.NET
Satellites Property
Returns information about the satellites in view.
Syntax
[Visual Basic]
object.Satellites
[C#]
object.Satellites
[C++]
object->Satellites
Parameters
object
An object expression that evaluates to a GPSToolKit object.
Return Value
A SatelliteCollection object containing data about each satellite currently in view.
Remarks
- If no satellite data is available or the protocol does not support satellite information, this property returns an empty SatelliteCollection.
- This property is only valid when using the NMEA 0183 protocol.
Errors
None
Example
[Visual Basic]
Imports SciCom.GPSToolKit.Collections
[...]
Dim sats As SatelliteCollection
'Get satellite collection
sats = myGPSToolKit.Satellites
[C#]
using SciCom.GPSToolKit.Collections;
[...]
SatelliteCollection sats;
// Get satellite collection
sats = myGPSToolKit.Satellites;
[C++]
using namespace SciCom::GPSToolKit::Collections;
[...]
SatelliteCollection *sats;
// Get satellite collection
sats = myGPSToolKit->Satellites;
See Also
SatelliteCollection class
|