activex Posted October 6, 2022 Report Posted October 6, 2022 All, I have installed FSUIPC 7.3.1.1 (using non-registered version) and I am running SU11 (Canada changes). I am using FSUIPCClientDLL 3.2.21 (latest). I selected/loaded Cessna Citation CJ4. The following lines of code tried to read current thurst input 1 value for the cessna aircraft. Instead of reading the value, it returns always zero. FSUIPCConnection.Open(); var thrustInput1Offset = new Offset<short>(0x089A); FSUIPCConnection.Process(); var thrustInput1 = thrustInput1Offset.GetValue(Type.GetType("System.Int16")); Console.WriteLine($"thrust input 1={thrustInput1}"); FYI, this offset worked before, now it stopped working. I did quick dirty test on offset "0x3AE8" (General engine 1 throttle lever position) and this one works.
activex Posted October 6, 2022 Author Report Posted October 6, 2022 Disregard. Looks like the "0x089A" offset is write only offset.
John Dowson Posted October 7, 2022 Report Posted October 7, 2022 12 hours ago, activex said: Disregard. Looks like the "0x089A" offset is write only offset. Yes - I will update the offset document to make this clear. John
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now