When I read with javascript: var alt = SimVar.GetSimVarValue(“K:INDICATED
ALTITUDE”, “feet”); I get an exponential expression. Maybe it is the wrong
variable. Also with HDG = SimVar.GetSimVarValue(“AUTOPILOT HEADING LOCK DIR”,
“degrees”); LT = SimVar.GetSimVarValue(“AUTOPILOT ALTITUDE LOCK VAR”, “feet”);
VS = SimVar.GetSimVarValue(“AUTOPILOT VERTICAL HOLD VAR”, “feet/minute”); I
want to get the actual values for aircraft heading, altitude and vertical
speed in number that I can work with. EDIT: Now I got the right simvars, In
general: These are aircraft variables and so they must start with A: Those
work: “A:PLANE HEADING DEGREES TRUE”, “degrees” “A:PLANE ALTITUDE”, “feet”
“A:VERTICAL SPEED”, “feet/second” (* 60 gives feet/minute)
good job posting the correct answer to your own question - this forum really
seems to be off the radar for most developers which is a shame.