ModeIndicator Property
Returns the current GPS mode indicator.
Syntax
Visual Basic
object.ModeIndicator
Visual C++
object.GetModeIndicator()
| Part
| Description |
| object |
An object expression that evaluates to a GPS ToolKit object. |
Example
Visual Basic
Dim modeIndicator As String
'Get mode indicator
modeIndicator = myGPSToolKit.ModeIndicator
Visual C++
_variant_t vtModeIndicator;
// Get mode indicator
vtModeIndicator = m_myGPSToolKit.GetModeIndicator();
_bstr_t convBSTR = (_bstr_t)vtModeIndicator;
CString strModeIndicator = (LPCSTR)convBSTR;
Remarks
Defined ModeIndicator values are as follows:
| Setting
| Description |
| A |
Autonomous |
| D |
Differential |
| E |
Estimated |
| N |
Data not valid |
Some GPS models may support other mode indicator values. GPS ToolKit considers
these values valid and ModeIndicator will hold these values as a single character string.
Default
Empty (VT_EMPTY)
Returns
A VARIANT (type VT_BSTR/BSTR/VB String) containing the last reported mode indicator.
If no mode indicator data is reported the variable will be empty (type VT_EMPTY).
Errors
None
See Also
FixQuality property
|