I'm using fsuipc for .cs
This conversion yeilds the correct GS speed. but as mentioned "GS: Ground Speed, as 65536*metres/sec. Not updated in Slew" is not retrieving the correct value.
mode!
fsuipc.FSUIPC_Read(0x02B4, 4, ref token, ref resultValue);
fsuipc.FSUIPC_Process(ref resultValue);
fsuipc.FSUIPC_Get(ref token, ref resultValue);
double groundpseed = resultValue* 3600 / 65536 / 1852;
Similarly for TAS,doesn't give the correct value.
fsuipc.FSUIPC_Read(0x02B8, 4, ref token, ref resultValue);
fsuipc.FSUIPC_Process(ref resultValue);
fsuipc.FSUIPC_Get(ref token, ref resultValue);
double tas = resultValue * 128;
Also for fuel weight, not the correct reading
fsuipc.FSUIPC_Read(0x0AF4, 2, ref token, ref resultValue);
fsuipc.FSUIPC_Process(ref resultValue);
fsuipc.FSUIPC_Get(ref token, ref resultValue);
double fuelonboard = resultValue*256;
Same goes for heading too.