Hallo,
as a beginner, I am trying to write a short XML code for a FSX gauge which shows – after entering a flight plan for a flight from Airport A to airport B – the following information as strings:
a) the distance to airport B, which is also the next waypoint,
b) the elevation of this airport
c) the course to this airport, and
d) the direction of the runways, that is not the numbers of the runways e.g. 15 and 33 , but rather the magnetic heading e.g. 154° and 334°
I had no problems to obtain the answers to a, b, and c, but I did not succeed with d.
I used the line:
(C:fs9gps:WaypointAirportRunwayDirection, degrees) (>L:RunwayDir, degrees)
but when I print L:RunwayDir as a string I always obtain Zero.
Obviously, it is not as simple as a thought. Anybody can help me ?
Best regards
Kurt
as a beginner, I am trying to write a short XML code for a FSX gauge which shows – after entering a flight plan for a flight from Airport A to airport B – the following information as strings:
a) the distance to airport B, which is also the next waypoint,
b) the elevation of this airport
c) the course to this airport, and
d) the direction of the runways, that is not the numbers of the runways e.g. 15 and 33 , but rather the magnetic heading e.g. 154° and 334°
I had no problems to obtain the answers to a, b, and c, but I did not succeed with d.
I used the line:
(C:fs9gps:WaypointAirportRunwayDirection, degrees) (>L:RunwayDir, degrees)
but when I print L:RunwayDir as a string I always obtain Zero.
Obviously, it is not as simple as a thought. Anybody can help me ?
Best regards
Kurt

