Results 1 to 5 of 5
  1. #1
    New Member
    Join Date
    Oct 2009
    Location
    singapore
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Warning lights ( eg. Low fuel)

    is there any program that is able to extract low fuel, low batt and etc data from flight simulator 2004 so that i can create a warning light module for my cockpit?

  2. #2
    75+ Posting Member
    Join Date
    Aug 2008
    Location
    UK
    Posts
    128
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Warning lights ( eg. Low fuel)

    It must be possible via FSUIPC and a USB LED output board. I use the Flight Illusion I/O card in my Cessna C172 pit for the annunciators.

  3. #3
    New Member
    Join Date
    Oct 2009
    Location
    singapore
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Warning lights ( eg. Low fuel)

    Hmm. Thanks for the information. However, I can't find the functions in the list of offsets.

  4. #4
    25+ Posting Member
    Join Date
    Jun 2008
    Location
    Berlin, Germany
    Posts
    49
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Warning lights ( eg. Low fuel)

    I don't know about the battery but I suppose you need to calculate the available fuel and define a low fuel status and then light up an led.

    This is my (not yet tested, sorry for that) version for the B727 fuel calculation in SIOC (mainly "borrowed" from Nico Kaan (who else ). Once you have your total fuel you can set "if total fuel < x pounds" then led y = 1. I plan to light up lamps for low total fuel and uneven fuel distribution between the individual tanks to manage cross feed as my fuel indicators don't work yet.

    Regards, Florian


    // **************** Calculation Fuel in Tanks in lb *************************************************************

    Var 5340, name FuelL, Value 0 // Fuel Left Tank in lb

    Var 5341, name FI_FuelL, Link FSUIPC_IN, Offset $0B7C, Length 4 // Fuel left tank level, % * 128 * 65536 also 838860800 also Gesamtfaktor, Faktor durch Gesamt lb * 10 ergibt Rechenfaktor
    {
    L0 = DIV &FI_FuelL, 8389 // 10000 lbs
    IF (L0 <> &FuelL)
    {
    &FuelL = L0
    }
    }

    Var 5342, name FuelC, Value 0 // Fuel Center Tank in lb

    Var 5343, name FI_FuelC, Link FSUIPC_IN, Offset $0B74, Length 4
    {
    L0 = DIV &FI_FuelC, 28436 // 29500 lbs
    IF (L0 <> &FuelC)
    {
    &FuelC = L0
    }
    }

    Var 5344, name FuelR, Value 0 // Fuel Right Tank in lb

    Var 5345, name FI_FuelR, Link FSUIPC_IN, Offset $0B94, Length 4
    {
    L0 = DIV &FI_FuelR, 839 // 10000 lbs
    IF (L0 <> &FuelR)
    {
    &FuelR = L0
    }
    }

    Var 5345, name TotalFuel, Value 0 // Total Fuel in lb

    Var 5345, name TotalFuelCalc, Value 0 // Total Fuel Calculation Value in lb

    {
    L0 = FuelL + FuelC
    L1 = L0 + FuelR
    IF (L1 <> TotalFuel)
    {
    &TotalFuel = L1
    }
    }

  5. #5
    150+ Forum Groupie
    Join Date
    Oct 2007
    Location
    N Ireland
    Posts
    251
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Warning lights ( eg. Low fuel)

    FSUIPC Offsets
    0B74
    4
    Fuel: centre tank level, % * 128 * 65536
    0B78
    4
    Fuel: centre tank capacity: US Gallons (see also offsets 1244– for extra FS2k/CFS2 fuel tanks)
    0B7C
    4
    Fuel: left main tank level, % * 128 * 65536
    0B80
    4
    Fuel: left main tank capacity: US Gallons
    0B84
    4
    Fuel: left aux tank level, % * 128 * 65536
    0B88
    4
    Fuel: left aux tank capacity: US Gallons
    0B8C
    4
    Fuel: left tip tank level, % * 128 * 65536
    0B90
    4
    Fuel: left tip tank capacity: US Gallons
    0B94
    4
    Fuel: right main tank level, % * 128 * 65536
    0B98
    4
    Fuel: right main tank capacity: US Gallons
    0B9C
    4
    Fuel: right aux tank level, % * 128 * 65536
    0BA0
    4
    Fuel: right aux tank capacity: US Gallons
    0BA4
    4
    Fuel: right tip tank level, % * 128 * 65536
    0BA8
    4
    Fuel: right tip tank capacity: US Gallons

    Are these of any use to you? Look also in the FS2Phidgets manual where there is an example of doing what you wish usinng an Phidgets LED64 card.
    Bill
    Bill
    P3D/ IFly737 Pro

Similar Threads

  1. Master Caution / Master Warning lights using FS2Phidget5 (noob)
    By mhayling in forum Phidgets & Cockpit Simulator Builder
    Replies: 3
    Last Post: 05-18-2010, 02:08 PM
  2. Replies: 4
    Last Post: 03-04-2010, 02:03 AM
  3. How to interface warning lights.
    By CessnaGuy in forum General Builder Questions All Aircraft Types
    Replies: 11
    Last Post: 02-05-2010, 05:11 PM
  4. Master Caution/ Warning lights
    By gokhotit in forum My Cockpit Update
    Replies: 36
    Last Post: 11-14-2008, 08:03 PM