kaha Posted Thursday at 03:51 PM Report Posted Thursday at 03:51 PM For some aircraft the values I get from those offsets are lower than in the in-sim EFB. I found this to be the case in the Carenado C172. I then searched for a standard aircraft and found the same for the DHC-2 Beaver. In the Carenado 182RG, as an example, the values are the same. This is a list of loaded fuel / fuel I get from offset 0x1264 (gallons): 100% 95 / 92 50% 48 / 44 10% 10 / 6 I'm at a loss here. I read using ipc.readUD(0x1264). Karl
John Dowson Posted Thursday at 05:42 PM Report Posted Thursday at 05:42 PM 0x1264 holds the FUEL TOTAL CAPACITY. From the MSFS documentation: Quote Current total quantity of fuel in volume for all tanks of the aircraft. The actual returned value will depend on the fuel system being used: Legacy fuel system [FUEL]: The value will include any unusable fuel. Modular fuel system [FUEL_SYSTEM]: The value will not include any unuseable fuel. This can be checked using the NEW FUEL SYSTEM SimVar. Maybe the aircraft is using the new Modular fuel system and the value does not include any unuseable fuel? If you want the total fuel capacity including unuseable fuel, you can use the simvar FUEL TOTAL QUANTITY EX1: Quote Current total quantity of fuel - including any unuseable fuel - for all tanks of the aircraft, regardless of the fuel system being used. This is not currently added to any FSUIPC7 offset - you can add it yourself to a free/spare offset if you want to use this.
kaha Posted yesterday at 06:49 AM Author Report Posted yesterday at 06:49 AM Thank you, I'll try this.
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