Pratistha Posted January 28, 2016 Report Posted January 28, 2016 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.
Pete Dowson Posted February 7, 2016 Report Posted February 7, 2016 What is ".cs"? I don't know the coding you are using I'm afraid. Are you using Paul Henty's .NET DLL? If so you need to use the Subforum for this, above. As for "doesn't give the correct value", have you not tried to debug the code to see why? Is there no relation? Pete
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now