 |
Getting Started |
|
|
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
|