Sign in to follow this  
CXA001

How to get fuel flow from XPUIPC

Recommended Posts

FSUIPC has the following offsets that do not seem to be available in XPUIPC (C# code from my application):

Offset<double> FSUIPCFuelFlow1 = new Offset<double>("FSUIPCFuelFlow1", 0x2060); //Fuel flow for engine 1.
Offset<double> FSUIPCFuelFlow2 = new Offset<double>("FSUIPCFuelFlow2", 0x2160); //Fuel flow for engine 2.
Offset<double> FSUIPCFuelFlow3 = new Offset<double>("FSUIPCFuelFlow3", 0x2260); //Fuel flow for engine 3.
Offset<double> FSUIPCFuelFlow4 = new Offset<double>("FSUIPCFuelFlow4", 0x2360); //Fuel flow for engine 4.

 

I need to be able to calculate the fuel flow for an application I am creating for our VA. Does anyone know how to get the fuel flow via XPUIPC?

 

Also, does anyone know where I could get a list of what offsets are currently available in XPUIPC?

 

Any help would be appreciated,

 

Share this post


Link to post
Share on other sites
Help AVSIM continue to serve you!
Please donate today!

Hello, the dataref for fuel flow is an array (8 elements), type is float: sim/flightmodel/engine/ENGN_FF_ (note the _ after FF).

First engine is sim/flightmodel/engine/ENGN_FF_[0], flow is measured in kg/second.

Can't be more precise as I don't use XPUIPC so I'm not specifically into the configuration file, sorry.

Share this post


Link to post
Share on other sites

I appreciate the response.

 

I will have to look into this as I am not an X-Plane pilot or developer for that matter.

 

The extent of my skills are taking the data that from FSUIPC (for FS9, FSX & P3D) and XPUIPC for X-Plane in order to create applications for our pilots.

 

Regards,

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this