I can't set KOHLSMAN SETTING MB simvar

I’m trying set this simvar: “KOHLSMAN SETTING MB” like “mbar” or “millibar” and it’s impossible. The SDK documentation says that it’s settable, but I can’t do it.

var altimetro=1014; // for example
SimVar.SetSimVarValue(‘KOHLSMAN SETTING MB’, ‘mbar’,parseFloat(altimetro));

That line doesn’t work. Simvar is unset.

I have the same problem, using the network protocol. It does not matter if I send the value as an int or a float. I always get DATA_ERROR.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.