500: XP C172SP INTFG (Logitech) Released

Here at last the Integrated Fuel Gauges (INTFG) for the X-Plane C172SP running Logitech FIP drivers.   It is fully customized for the aircraft even with the adjustable EGT reference needle. 

Unfortunately, there is still a feature yet to implement — the fuel-flow needle doesn’t work properly yet.

Nevertheless, instead of keeping it away from the shelf,  I replaced the fuel-flow instrument with CHT (Cylinder Head Temperature, a common feature found on Cessna aircraft) as an interim option until the solution is found.

Both CHT and fuel-flow options are included in the gauge package.   When the fuel-flow option is chosen, users may regard it a failure, which adds fun too.

All current X-Plane C172SP (Logitech) users could contact me for discount if interested in this new instrument.

Lastly, since I am not a full X-Plane simmer, help on implementing the fuel-flow feature is welcome and appreciated.    In return, a full set of the XP-Logitech C172SP or B58 gauges (or any of my bundle gauges) will be given to the first person who help solve the issue as a gift.

Following is the implementation I did so far:

<!-- FUEL FLOW -->
<Element>
<Position X="276" Y="60" />
<Image Name="XPL_C172SP_INTFG_Needle.bmp" ImageSizes="37,4,37,4">
<Axis X="2.0" Y="2.0" />
</Image>
<Rotate>
<Value Minimum="0" Maximum="19">(A:sim/cockpit2/engine/indicators/fuel_flow_kg_sec) 1320 * </Value>
<Nonlinearity>
<Item Value="0" Degrees="210" />
<Item Value="5" Degrees="220" />
<Item Value="10" Degrees="250" />
<Item Value="15" Degrees="285" />
<Item Value="19" Degrees="330" />
</Nonlinearity>
</Rotate>
</Element>

As the dataref in X-Plane for fuel-flow is in kg/second, and the result I need is Gal/hour.   So I multiply the dataref by 3600 for an hour consumption and then multiply the result by 2.2 to convert it from kg to lb.   And then I further divide the result by 6 for gallon per hour.

In other words, 1 kg/s in an hour is equal to 1320 gal/hour.

So in the formula, I put 1320 as a constant to convert the value from kg/sec to gal/hour.

The concept and the formula sound logical to me and the calculated result matches the value shown by the Dataref Editor.   But the fuel-flow needle doesn’t respond accordingly.   I am not sure whether there are somethings I missed.

Besides the “sim/cockpit2/engine/indicators/fuel_flow_kg_sec” command, the “sim/flightmodel/engine/ENGN_FF_” command doesn’t work either.

Help is greatly appreciated.  Alternative suggestions solving the issue are welcome too.

 

10 thoughts on “500: XP C172SP INTFG (Logitech) Released

    1. Hi Rares,
      Checked and tried your suggestion already. Unfortunately, not working. I am guessing the fuel_flow script is missing in the Logitech/Logitech X-Plane Plugin in the first place.
      Tom

      Liked by 1 person

      1. Hi Tom,

        I played with this as well on my FIP and I was unsuccessful as well. My guess right now is that the number coming from XPlane is too small and the Saitek drivers round it to 0. So, essentially the Saitk drivers don’t support such high-precision numbers. This could be verified by using a high fuel-flow aircraft (e.g., Space Shuttle) where the number get larger and might not be rounded off to 0.

        Liked by 1 person

      2. I don’t know because the FIP does respond a little when the throttle all pushed in. Also, it won’t return to zero or move down accordingly when the throttled is pulled out.
        But will give it a try on the Space Shuttle as suggested. Thanks

        Liked by 1 person

      3. Hi Rares,
        Tested the fuel flow status on larger airliners and you are right that the numbers are rounded to either 5 or 0 at the 3rd decimal place. Contacting Logitech for the issue and hope that there is some solutions to it.
        BTW, have you received the email I sent to you?
        Tom

        Liked by 1 person

      4. Hope Logitech will be responding better to customer than Saitek.
        Yes, X-Plane should include more options for FF due to many different units used on different aircraft.
        Best

        Liked by 1 person

  1. “In other words, 1 kg/hour is equal to 1320 gal/hour.” 1 kg/hour = 0.37gal/hour. The important sum is correct 1 kg/sec is equal to 1320 gal/hour. Not very helpful I know. But I can’t help with the program.

    Like

Leave a reply to Rares Vernica Cancel reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.