• Which the release of FS2020 we see an explosition of activity on the forun and of course we are very happy to see this. But having all questions about FS2020 in one forum becomes a bit messy. So therefore we would like to ask you all to use the following guidelines when posting your questions:

    • Tag FS2020 specific questions with the MSFS2020 tag.
    • Questions about making 3D assets can be posted in the 3D asset design forum. Either post them in the subforum of the modelling tool you use or in the general forum if they are general.
    • Questions about aircraft design can be posted in the Aircraft design forum
    • Questions about airport design can be posted in the FS2020 airport design forum. Once airport development tools have been updated for FS2020 you can post tool speciifc questions in the subforums of those tools as well of course.
    • Questions about terrain design can be posted in the FS2020 terrain design forum.
    • Questions about SimConnect can be posted in the SimConnect forum.

    Any other question that is not specific to an aspect of development or tool can be posted in the General chat forum.

    By following these guidelines we make sure that the forums remain easy to read for everybody and also that the right people can find your post to answer it.

FS2004 fuel dump gauge problem

Messages
1,468
Country
italy
I've done a couple of downloads including Doug Dawson's gauge and an add on by Rob Barendregt. However neither download contains .ini files so I can't get the gauge to work.
If someone has one could they post it so I can copy and adapt it. Many thanks.
My aim is to adapt the gauge for use only with dials. See image.

vololiberista
attachment.php
 

Attachments

  • fuel2.jpg
    fuel2.jpg
    88.3 KB · Views: 1,635
I donot think Doug's gauge requires an INI. You just write the values as needed, when needed. Ex.

Code:
<!-- NOTE, negative numbers fill the tanks --> 

-360000 (>L:RATE_TANK_AUX_LEFT,number)
-360000 (>L:RATE_TANK_MAIN_RIGHT,number)
-360000 (>L:RATE_TANK_CENTER2,number)
-360000 (>L:RATE_TANK_CENTER,number)

Roman
 
Well, I can't get it to work without an ini file either. Doug didn't provide any instructions with his download at all!!
vololiberista
 
Well, even with Doug's gauge there's a problem. This is the display but there's no way of actually uploading or dumping fuel. There are no clickable areas provided.
vololiberista
attachment.php
 

Attachments

  • display.jpg
    display.jpg
    14.1 KB · Views: 1,377
The gauge you are using is the diagnostic gauge. The working fuel dump gauge is called dsd_fsx_fuel_dump!fuel_dump and is invisible. You make your own dials and switches and then via a switch for example..

If switch is up (Refuel) then -360000 (>L:RATE_TANK_MAIN_RIGHT,number)
If switch is centered (Off) then 0 (>L:RATE_TANK_MAIN_RIGHT,number)
If the switch is down (Dump) then 360000 (>L:RATE_TANK_MAIN_RIGHT,number)

The L: vars are fixed to the gauge and therefore no .ini is needed.
You can use your own logic to do many things like transfer pumps, in air refueling, selective dumping as examples.
Works perfectly for FSX SP2 and Accel.

Roman
 
Last edited:
The gauge you are using is the diagnostic gauge. The working fuel dump gauge is called dsd_fsx_fuel_dump!fuel_dump and is invisible. You make your own dials and switches and then via a switch for example..

If switch is up (Refuel) then -360000 (>L:RATE_TANK_MAIN_RIGHT,number)
If switch is centered (Off) then 0 (>L:RATE_TANK_MAIN_RIGHT,number)
If the switch is down (Dump) then 360000 (>L:RATE_TANK_MAIN_RIGHT,number)

The L: vars are fixed to the gauge and therefore no .ini is needed.
You can use your own logic to do many things like transfer pumps, in air refueling, selective dumping as examples.
Works perfectly for FSX SP2 and Accel.

Roman

It may well work in FSX but if you look this is for FS9!!!!
vololiberista
 
Fuel dumping was a feature of FSX... I don't think it can be done in FS9 without help from FSUIPC.
 
Well, even with Doug's gauge there's a problem. This is the display but there's no way of actually uploading or dumping fuel. There are no clickable areas provided.
vololiberista
attachment.php

You can be happy, because you are dumping with a rate of 0.7!
(perhaps it is a "decimal sign" problem ("," or ".")?)


I cannot dump fuel, I get always "rate=0.0"

I would like to see your xml text ...

:confused:
 
Fuel dumping was a feature of FSX... I don't think it can be done in FS9 without help from FSUIPC.

Well, we all have FSUIPC and Doug Dawson produced fuel dump gauges for both sims.

I've manged to get it going now using a combination of Rob Barendregt's gauge modified for use with the VC10 and DD's fuel dump gauge in transparent mode. Plus an ini file which I modified to match Rob's gauge. Though there are still some problems to iron out.
1. It only seems to fill one tank.
2. The fuel load is set to zero at the start of each session.
vololiberista
 
Last edited:
I have been using it for some time to allow the APU to use some fuel. I also played about with tank-to-tank transfer and got it working fine (but then abandoned it in favour of setting up the tanks better in the aircraft.cfg).

These work fine for me using dsd_fs9_fuel_dump.gau (version dated 04 March 2012) called as "gauge41=dsd_fs9_fuel_dump!fuel_dump,2,2,2,2" in my panel... No .ini is required and you can ignore the fsx .dll file if using fs9.

Code:
### (&gt;L:RATE_TANK_AUX_RIGHT,number) 
### (&gt;L:RATE_TANK_CENTER,number) 
### (&gt;L:RATE_TANK_AUX_LEFT,number)

The ### numbers should be in pounds per hour (-ve removes fuel from the tank). This is really nice as the earlier versions required a number that was a proportion of the tank volume - a pain when working out transfers.

For your point 1, my only advice is to check that you are really setting the vars for the correct tanks?
For point 2, there does seem to be a bug. If the transfer is operating at sim shutdown, the fuel values /before the L:Var was set/ will probably be the ones that get saves. Similarly, if the L:Vars are set nonzero, and you try to add some fuel by the sim menu, things will go wrong for the tanks where transfer is happening.

Geoff
 
Hi Geoff,
Point 2 is resolved as minimum start-up values in the ini file. Being 22% in each tank which was how the original model was set-up.
As for point 1. Rob's gauge fills the tanks according to way FS9 uses fuel. In other words it is one tank first then other etc.
What I want to do is to get all the tanks to fill simultaneously until the required fuel uplift is attained.
I'm thinking that might be possible if fuel tank transfer is selected.
Rob's gauge allows me to change the fuel values: kgs,lbs, gallons, litres etc. and the uplift/dump rate all on the fly.
vololiberista
 
Last edited:
At first Rob B. uses an very old version of Doug's wonderful Dump-Gauge!!!
Thanks again, Doug for this wonderful!!!

IMHO i would recommend to use Doug's last dump-gauge!

Roman postet the link.
Also the zipfile contains a description!

You can override the defined dump-variable! This means yon can start with a high dump/load rate
and if you reach the wanted fuelload so you can go down with the dump/load rate to prefend an override of the desired fuelload. This is just a little mathematics.
From the description of the new version, Doug's explanation
You are specifying a value in pounds per hour.
This is important for any calculation.

Edi
 
Ed,
The beauty of Rob's gauge is that it contains all the conversions. i.e. flow rates, gallons, kilos, pounds etc. Its base calculation is gallons per minute but the user chooses the flow rate and how the fuel is measured.
vololiberista
 
I have a similar gauge problem and I am not sure, if I should jump in or open a new thread :confused:

I am a newbie to XML, so forgive me please.

My gauge shall use Doug Dawsons dsd_fsx_fuel_dump.zip in FS2004.
I want to dump fuel if the afterburner is on.

My (very raw) test version looks like this:

Code:
<?xml version="1.0" encoding="utf-8"?>
<Gauge Name="my_fuel" Version="1.0">
  <copyright>(c)2013 Hans-Guenther Schnell</copyright>
  <Element>
    <Select>
      
      <Value>
        (A:TURB ENG1 AFTERBURNER,bool)
      </Value>

         <Case Value="1">
           30000 (>L:RATE_TANK_AUX_RIGHT,number)
           30000 (>L:RATE_TANK_MAIN_RIGHT,number) 
           30000 (>L:RATE_TANK_AUX_LEFT,number)
           30000 (>L:RATE_TANK_MAIN_LEFT,number) 
         </Case> 
      
         <Case Value="0">
            0    (>L:RATE_TANK_AUX_RIGHT,number)
            0    (>L:RATE_TANK_MAIN_RIGHT,number)
            0    (>L:RATE_TANK_AUX_RIGHT,number)
            0    (>L:RATE_TANK_MAIN_RIGHT,number)
         </Case> 
    </Select>
  </Element>
</Gauge>

My panel.cfg looks like this:

Code:
gauge16=dsd_fs9_fuel_dump!fuel_dump,  2,2,2,2
gauge17=dsd_fs9_fuel_dump!display,  10,620,415,53
gauge18=my_fuel!my_fuel

The display in the panel shows always (in white letters) "Rate 0.0"
 
Guenther,

I donot believe you can use <Case> tags/statements for anything other than bitmaps. Using an update should do it.

Roman

Code:
<?xml version="1.0" encoding="utf-8"?>
<Gauge Name="my_fuel" Version="1.0">
  <copyright>(c)2013 Hans-Guenther Schnell</copyright>
  <Update>
        (A:TURB ENG1 AFTERBURNER,bool) 
          if{ 
           30000 (>L:RATE_TANK_AUX_RIGHT,number)
           30000 (>L:RATE_TANK_MAIN_RIGHT,number) 
           30000 (>L:RATE_TANK_AUX_LEFT,number)
           30000 (>L:RATE_TANK_MAIN_LEFT,number) 
           }

          els{     
            0 (>L:RATE_TANK_AUX_RIGHT,number)
            0 (>L:RATE_TANK_MAIN_RIGHT,number)
            0 (>L:RATE_TANK_AUX_RIGHT,number)
            0 (>L:RATE_TANK_MAIN_RIGHT,number) 
              }  
         
  </Update>
</Gauge>
 
Hurray and Halleluja!

:D

it works...

How can I learn these things?
Is it all in the FS2004 SDK (Panels and Gauges)?

thanks a lot from Bavaria
 
Guenther,

Usually it's a try and test method. MS did provide a file (FS9) that does provide what can/can not be included within tags such as other tags and attributes. It is difficult as can be but here you go -
Code:
FS2004SDK\Panels_SDK\inc\gauges.xdr
You can open up the .xdr with notepad and if you look between line(s) 507-514 you can see how it relates to your original post.

An easier document for help is the FSX/ESP1.0 SDK. Note that the syntax and attributes WILL NOT work in FS9 but it gives a better explanation what certain tags do, what can the "parents" be and so on.. It can be used as a general reference only. Again this link provides the information relating directly to your original post.

http://msdn.microsoft.com/en-us/library/cc526953.aspx#mozTocId871249

And finally, a real good, mostly complete, tutorial for FS9 is available here - http://www.fs2x.com/Tutorials.htm

Roman

How can I learn these things?
Is it all in the FS2004 SDK (Panels and Gauges)?
 
Back
Top