Low fuel light

Only for Genuine FS fanatics! Taking this hobby from Real to Surreal? Or maybe just combining 4 hobbies into 1 ;)

Low fuel light

Postby gokhotit » Tue Sep 11, 2007 11:03 pm

I have a low fuel light on my annunciator panel.  the problem I am having, is that it runs off of how many gallons are in the tanks, not percentage.    
  example:  I have it set to on at 20 gals remaining..good for a cessna or mooney, bad for a 737 :o.

Is there any way I can run it off of percentage remaining?  If so, what is the offset?  I have looked and cant find it.

PS I am running FSX


Thanx in advance.
The Sim Console..."outside the box", within a box http://i168.photobucket.com/albums/u185/gokhotit/th_sim.jpg
User avatar
gokhotit
2nd Lieutenant
2nd Lieutenant
 
Posts: 103
Joined: Thu Jan 13, 2005 12:38 pm

Re: Low fuel light

Postby JBaymore » Wed Sep 12, 2007 8:43 am

gokhotit,

Have you looked in the FSUIPC For Advanced Programmers document at the listing of offsets?  I am not sure about FSX..... don;t think he has updated the list yet....... but maybe.  I am almost SURE that there are offsets for % fuel by tank up through FS2004 (at least).

If you haven't gotten to it by the time I get a chance... I'll eventually have time to find my copy of that listing and post something.

You can find the document on Pete's website.  it is a separate download from FSUIPC itself.

best,

...................john
Image ImageIntel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 720
User avatar
JBaymore
Global Moderator
Global Moderator
 
Posts: 10020
Joined: Sat May 24, 2003 9:15 am
Location: New Hampshire

Re: Low fuel light

Postby gokhotit » Wed Sep 12, 2007 3:59 pm

I know there is a percentage for each tank...I was hoping for a percentage in total. Is that possible?
The Sim Console..."outside the box", within a box http://i168.photobucket.com/albums/u185/gokhotit/th_sim.jpg
User avatar
gokhotit
2nd Lieutenant
2nd Lieutenant
 
Posts: 103
Joined: Thu Jan 13, 2005 12:38 pm

Re: Low fuel light

Postby JBaymore » Thu Sep 13, 2007 10:22 am

I know there is a percentage for each tank...I was hoping for a percentage in total. Is that possible?


Aha....... unless your aircraft only has a single tank... I don't think so.

You COULD change the aircraft config to have the plane have only one tank that matches the capacity of the total of all the tanks you currently have.  If you don;t mind non-realistic fuel management then that is one possible solution to having "one value" to monitor.  You'll have to alter the tank location ion the config file to the genter of the aircraft when you change it.

I THINK you are using Phidgets to drive your annunciator lights?  The upcoming new version of FS2Phidget MIGHT have some possibilities in this department to solve the problem... but we have not seen yet what Alan Dyer has come up with.

Other than that,...... I think the only other option is to write an external set of code to drive it in sonething like C++ or VB6 or whatever.

My normal aircraft has five tanks (center and two in each wing) ...and I have low annunciatitors for each one.

best,

.....................john
Image ImageIntel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 720
User avatar
JBaymore
Global Moderator
Global Moderator
 
Posts: 10020
Joined: Sat May 24, 2003 9:15 am
Location: New Hampshire

Re: Low fuel light

Postby expat » Thu Sep 13, 2007 3:47 pm

737 fuel gauges are in LBS or KG's in the real world.  :)

Matt
"A bit of a pickle" - British translation: A catastrophically bad situation with potentially fatal consequences.

PETA Image People Eating Tasty Animals.

B1 (Cat C) licenced engineer, Boeing 737NG 600/700/800/900 Airbus A318/19/20/21 and Dash8 Q-400
1. Captain, if the problem is not entered into the technical logbook.........then the aircraft does not have a problem.
2. And, if you have time to write the fault on a napkin and attach to it to the yoke.........you have time to write it in the tech log....see point 1.
User avatar
expat
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 8679
Joined: Tue Apr 19, 2005 3:06 am
Location: Deep behind enemy lines....

Re: Low fuel light

Postby gokhotit » Thu Sep 13, 2007 11:44 pm

I know that when you hit SHIFT+Z in FS it comes up with the info at the top of the screen.  In that info is a fuel total %.  Is there any way to tap into whatever drives that number?
The Sim Console..."outside the box", within a box http://i168.photobucket.com/albums/u185/gokhotit/th_sim.jpg
User avatar
gokhotit
2nd Lieutenant
2nd Lieutenant
 
Posts: 103
Joined: Thu Jan 13, 2005 12:38 pm

Re: Low fuel light

Postby JBaymore » Fri Sep 14, 2007 10:34 am

gokhotit,

Not that I know of.
Last edited by JBaymore on Fri Sep 14, 2007 10:37 am, edited 1 time in total.
Image ImageIntel i7 960 quad 3.2G LGA 1366, Asus P6X58D Premium, 750W Corsair, 6 gig 1600 DDR3, Spinpoint 1TB 720
User avatar
JBaymore
Global Moderator
Global Moderator
 
Posts: 10020
Joined: Sat May 24, 2003 9:15 am
Location: New Hampshire

Re: Low fuel light

Postby gokhotit » Sat Sep 15, 2007 12:49 am

John, you are an FS genious if there ever was one.

Now that we have the first problem of how to get it to work, a new problem arises.

1.) I am not good at programming (gotta Love FS2Phidget [shout out to Allen! 8-)])
2.) I built a generic Sim which must work with everything from teh Wright Flyer to the A380.
3.) I have a solution (I just dont have the knowledge to implement it, hence the problem).

FSInterrigate2std gives provisions for offsets that deal with indivdual tanks as a percentage within FSX.  So the idea is, you take the value of each of these tank offsets (i think there are 6), add them together, then divide by the number of tanks.  Example, If I have my left tank at 50% and the right at 25%, that would give me a total of 37.5% total.  Now, I want the light to run off the total value (37.5% value).  If the total value gets below say 15% the light comes on.  put the total value into an offset and plug that into FS2Phidget.  Easy as that. :o  
The Sim Console..."outside the box", within a box http://i168.photobucket.com/albums/u185/gokhotit/th_sim.jpg
User avatar
gokhotit
2nd Lieutenant
2nd Lieutenant
 
Posts: 103
Joined: Thu Jan 13, 2005 12:38 pm


Return to Home Cockpits and Setups

Who is online

Users browsing this forum: No registered users and 149 guests