Search the Community
Showing results for tags '0x2EA0'.
Found 1 result
Hi Mr Pete Dowson Sir I'm a newbie to FSX and FSUIPC as well. So please bear with me if I have asked you a silly question and not googled hard for a similar question/solution already asked and answered. I have a requirement in which I wanted to read/write Pitch & Elevator Trim executed via lua scripting triggered by a button in a Joystick. I'm new to FSUIPC and hence started browsing example code from your collection of lua scripts ... and slightly modified "Display Vals". The offset document and code example( display vals, liar) is neat and clear when it comes to reading/writing Pitch/Altitude, etc but I could not find any example for reading/writing elevator trim...especially how to convert the value read from offset 0x2EA0. I have a gauge( XML in Panel) displaying ( digital readout ) of Elevator Trim( <String>T:%((A:Elevator Trim Position,degrees))%!2.2f!</String>) and I was trying to verify the data read from offset with the digital read out. My question a) what is the formula to convert value read from offset 0X2EA0 ( so that it would match my reading from gauge) b) if i write ( as per the example code in "Liar" example LUA plug-in for FSUIPC4/ESPIPC only, by Pete Dowson, January 2009) will it reflect really the changes in FS). The reason I'm asking is based on your comment "alter them all to values we want to fool other FSUIPC clients to believe" Need your guidance Thanks very much Regards Janakiraman Swaminathan display vals.txt