# NDB And VOR {{< callout context="caution" title="IMPORTANT!" icon="outline/alert-triangle" >}} GPS variables are **deprecated** in Microsoft Flight Simulator 2024. For more information, please see the [GPS Vars In MSFS 2024](../gps-variables-legacy/#gps-vars-in-msfs-2024) section. {{< /callout >}} The tables below indicate the requirements for the [GPS Variables](../gps-variables-legacy/) that can be used to get and set the different GPS properties associated with NDB / VOR. You can find a complete index of all available GPS Vars here: [GPSVar Index](../gps-variables-legacy/#index) ### NDB {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="WaypointNdbICAO" />}}`WaypointNdbICAO` | String | {{< check/good >}} | | {{< anchor id="WaypointNdbIdent" />}}`WaypointNdbIdent` | String | {{< check/bad >}} | | {{< anchor id="WaypointNdbType" />}}`WaypointNdbType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`COMPASS_POINT` (1)`MH` (2)`H` (3)`HH` (4){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointNdbName" />}}`WaypointNdbName` | String | {{< check/bad >}} | | {{< anchor id="WaypointNdbCity" />}}`WaypointNdbCity` | String | {{< check/bad >}} | | {{< anchor id="WaypointNdbRegion" />}}`WaypointNdbRegion` | String | {{< check/bad >}} | | {{< anchor id="WaypointNdbLatitude" />}}`WaypointNdbLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointNdbLongitude" />}}`WaypointNdbLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointNdbElevation" />}}`WaypointNdbElevation` | Meters | {{< check/bad >}} | | {{< anchor id="WaypointNdbFrequency" />}}`WaypointNdbFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="WaypointNdbWeatherBroadcast" />}}`WaypointNdbWeatherBroadcast` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NO` (1)`YES` (2){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointNdbMagneticVariation" />}}`WaypointNdbMagneticVariation` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointNdbNearestAirportId" />}}`WaypointNdbNearestAirportId` | String | {{< check/bad >}} | | {{< anchor id="WaypointNdbNearestAirportLongestRunwayDirection" />}}`WaypointNdbNearestAirportLongestRunwayDirection` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointNdbNearestAirportKind" />}}`WaypointNdbNearestAirportKind` | Enum:{{< params/smallfont >}}`UNKNOWN_KIND_AIRPORT` (0)`HARD_SURFACE_AIRPORT` (1)`SOFT_SURFACE_AIRPORT` (2)`WATER_SURFACE_AIRPORT` (3)`HELIPAD_AIRPORT` (4)`PRIVATE_AIRPORT` (5){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointNdbNearestAirportBearing" />}}`WaypointNdbNearestAirportBearing` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointNdbNearestAirportDistance" />}}`WaypointNdbNearestAirportDistance` | Meters | {{< check/bad >}} | {{< /table-wrapper >}} ### Nearest NDB {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="NearestNdbCurrentLatitude" />}}`NearestNdbCurrentLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentLongitude" />}}`NearestNdbCurrentLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbMaximumItems" />}}`NearestNdbMaximumItems` | Number | {{< check/bad >}} | | {{< anchor id="NearestNdbMaximumDistance" />}}`NearestNdbMaximumDistance` | Meters | {{< check/bad >}} | | {{< anchor id="NearestNdbItemsNumber" />}}`NearestNdbItemsNumber` | Number | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentLine" />}}`NearestNdbCurrentLine` | Number | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentNdbLatitude" />}}`NearestNdbCurrentNdbLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentNdbLongitude" />}}`NearestNdbCurrentNdbLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentICAO" />}}`NearestNdbCurrentICAO` | String | {{< check/good >}} | | {{< anchor id="NearestNdbCurrentIdent" />}}`NearestNdbCurrentIdent` | String | {{< check/good >}} | | {{< anchor id="NearestNdbCurrentType" />}}`NearestNdbCurrentType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`COMPASS_POINT` (1)`MH` (2)`H` (3)`HH` (4){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentFrequency" />}}`NearestNdbCurrentFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentDistance" />}}`NearestNdbCurrentDistance` | Meters | {{< check/bad >}} | | {{< anchor id="NearestNdbCurrentTrueBearing" />}}`NearestNdbCurrentTrueBearing` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbSelectedNdb" />}}`NearestNdbSelectedNdb` | Number | {{< check/bad >}} | | {{< anchor id="NearestNdbSelectedNdbLatitude" />}}`NearestNdbSelectedNdbLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbSelectedNdbLongitude" />}}`NearestNdbSelectedNdbLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestNdbSelectedNdbName" />}}`NearestNdbSelectedNdbName` | String | {{< check/good >}} | | {{< anchor id="NearestNdbSelectedNdbCity" />}}`NearestNdbSelectedNdbCity` | String | {{< check/good >}} | | {{< anchor id="NearestNdbSelectedNdbType" />}}`NearestNdbSelectedNdbType` | Meters | {{< check/bad >}} | | {{< anchor id="NearestNdbSelectedNdbFrequency" />}}`NearestNdbSelectedNdbFrequency` | Hz | {{< check/bad >}} | {{< /table-wrapper >}} ### VOR {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="WaypointVorICAO" />}}`WaypointVorICAO` | String | {{< check/good >}} | | {{< anchor id="WaypointVorIdent" />}}`WaypointVorIdent` | String | {{< check/bad >}} | | {{< anchor id="WaypointVorType" />}}`WaypointVorType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`VOR` (1)`VOR_DME` (2)`DME` (3)`TACAN` (4)`VORTAC` (5)`ILS` (6)`VOT` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointVorClass" />}}`WaypointVorClass` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`TERMINAL` (1)`LOW_ALT` (2)`HIGH_ALT` (3)`ILS` (4)`VOT` (5){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointVorName" />}}`WaypointVorName` | String | {{< check/bad >}} | | {{< anchor id="WaypointVorCity" />}}`WaypointVorCity` | String | {{< check/bad >}} | | {{< anchor id="WaypointVorRegion" />}}`WaypointVorRegion` | String | {{< check/bad >}} | | {{< anchor id="WaypointVorLatitude" />}}`WaypointVorLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointVorLongitude" />}}`WaypointVorLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointVorElevation" />}}`WaypointVorElevation` | Meters | {{< check/bad >}} | | {{< anchor id="WaypointVorFrequency" />}}`WaypointVorFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="WaypointVorWeatherBroadcast" />}}`WaypointVorWeatherBroadcast` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NO` (1)`YES` (2){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointVorMagneticVariation" />}}`WaypointVorMagneticVariation` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointVorNearestAirportId" />}}`WaypointVorNearestAirportId` | String | {{< check/bad >}} | | {{< anchor id="WaypointVorNearestAirportLongestRunwayDirection" />}}`WaypointVorNearestAirportLongestRunwayDirection` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointVorNearestAirportKind" />}}`WaypointVorNearestAirportKind` | Enum:{{< params/smallfont >}}`UNKNOWN_KIND_AIRPORT` (0)`HARD_SURFACE_AIRPORT` (1)`SOFT_SURFACE_AIRPORT` (2)`WATER_SURFACE_AIRPORT` (3)`HELIPAD_AIRPORT` (4)`PRIVATE_AIRPORT` (5){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="WaypointVorNearestAirportBearing" />}}`WaypointVorNearestAirportBearing` | Degrees | {{< check/bad >}} | | {{< anchor id="WaypointVorNearestAirportDistance" />}}`WaypointVorNearestAirportDistance` | Meters | {{< check/bad >}} | {{< /table-wrapper >}} ### Nearest VOR {{< table-wrapper "" "" "100px">}} | GPS Variable | Units | Settable | |---|---|:---:| | {{< anchor id="NearestVorCurrentLatitude" />}}`NearestVorCurrentLatitude` | Degrees | {{< check/good >}} | | {{< anchor id="NearestVorCurrentLongitude" />}}`NearestVorCurrentLongitude` | Degrees | {{< check/good >}} | | {{< anchor id="NearestVorMaximumItems" />}}`NearestVorMaximumItems` | Numbers | {{< check/good >}} | | {{< anchor id="NearestVorMaximumDistance" />}}`NearestVorMaximumDistance` | Meters | {{< check/good >}} | | {{< anchor id="NearestVorCurrentFilter" />}}`NearestVorCurrentFilter` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NAMED` (1)`UNNAMED` (2)`VOR` (3)`NDB` (4)`OFFROUTE` (5)`IAF` (6)`FAF` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorAddVorType" />}}`NearestVorAddVorType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NAMED` (1)`UNNAMED` (2)`VOR` (3)`NDB` (4)`OFFROUTE` (5)`IAF` (6)`FAF` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorRemoveVorType" />}}`NearestVorRemoveVorType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NAMED` (1)`UNNAMED` (2)`VOR` (3)`NDB` (4)`OFFROUTE` (5)`IAF` (6)`FAF` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorSetDefaultFilter" />}}`NearestVorSetDefaultFilter` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`NAMED` (1)`UNNAMED` (2)`VOR` (3)`NDB` (4)`OFFROUTE` (5)`IAF` (6)`FAF` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorItemsNumber" />}}`NearestVorItemsNumber` | Number | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentLine" />}}`NearestVorCurrentLine` | Number | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentVorLatitude" />}}`NearestVorCurrentVorLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentVorLongitude" />}}`NearestVorCurrentVorLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentICAO" />}}`NearestVorCurrentICAO` | String | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentIdent" />}}`NearestVorCurrentIdent` | String | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentType" />}}`NearestVorCurrentType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`VOR` (1)`VOR_DME` (2)`DME` (3)`TACAN` (4)`VORTAC` (5)`ILS` (6)`VOT` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentFrequency" />}}`NearestVorCurrentFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentDistance" />}}`NearestVorCurrentDistance` | Meters | {{< check/bad >}} | | {{< anchor id="NearestVorCurrentTrueBearing" />}}`NearestVorCurrentTrueBearing` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVor" />}}`NearestVorSelectedVor` | Number | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorLatitude" />}}`NearestVorSelectedVorLatitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorLongitude" />}}`NearestVorSelectedVorLongitude` | Degrees | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorName" />}}`NearestVorSelectedVorName` | String | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorCity" />}}`NearestVorSelectedVorCity` | String | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorType" />}}`NearestVorSelectedVorType` | Enum:{{< params/smallfont >}}`UNKNOWN` (0)`VOR` (1)`VOR_DME` (2)`DME` (3)`TACAN` (4)`VORTAC` (5)`ILS` (6)`VOT` (7){{< /params/smallfont >}} | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorFrequency" />}}`NearestVorSelectedVorFrequency` | Hz | {{< check/bad >}} | | {{< anchor id="NearestVorSelectedVorMagneticVariation" />}}`NearestVorSelectedVorMagneticVariation` | Degrees | {{< check/bad >}} | {{< /table-wrapper >}}