- Messages
- 261
- Country

Hi,
I asked a question concerning the operation of this gauge in another thread.
Unfortunately (for me!!) Lane Street is not experiencing the problem that I am experiencing while using this gauge.
I wished to use the gauge to fill the tanks in my FS2004 B737 to a certain level, depending on the flight distance, without having to use the FS2004 tool bar.
I devised a gauge which simulates a virtual handler filling the tanks as instructed.
The tanks would have some residual fuel left in them from before (as set up when the flight was created e.g, less than 1000 lbs in the wing tanks and only a very small amount in the centre).
I would calculate the fuel required to complete the trip and then instruct the gauge (handler!) which way I required the tanks to be filled.
The gauge would then use whatever fuel was required to bring the left, centre and right tanks up to the levels I had specified.
I hoped to use Doug Dawson's fuel dump gauge to fill the tanks.
Unfortunately whether I set the flow rate to a positive or a negative figure the result always appears the same - the tank empties rather than fills.
I didn't want to complicate matters by showing the full set of code I had devised to fulfill the task, so I shortened it to simply fill (hopefully) the left tank and empty the right one.
On pressing the 'FILL' switches on the gauge, left and right, both tanks empty.
I attach a pic of the much simplified gauge in action, both tanks started with 6000 lbs of fuel.
I also attach the much simplified code used.
Perhaps someone can see my error.
By the way, using the original gauge only slightly modified, and setting the tanks at the beginning to a high number of lbs of fuel, the gauge successfully stops emptying the tanks when the required amount is reached. It simply proved my gauge did what it had to do and that Doug's gauge was present and worked in some fashion. My only problem seems to be to fill the tank rather than to empty it!
Thanks
Walter
I asked a question concerning the operation of this gauge in another thread.
Unfortunately (for me!!) Lane Street is not experiencing the problem that I am experiencing while using this gauge.
I wished to use the gauge to fill the tanks in my FS2004 B737 to a certain level, depending on the flight distance, without having to use the FS2004 tool bar.
I devised a gauge which simulates a virtual handler filling the tanks as instructed.
The tanks would have some residual fuel left in them from before (as set up when the flight was created e.g, less than 1000 lbs in the wing tanks and only a very small amount in the centre).
I would calculate the fuel required to complete the trip and then instruct the gauge (handler!) which way I required the tanks to be filled.
The gauge would then use whatever fuel was required to bring the left, centre and right tanks up to the levels I had specified.
I hoped to use Doug Dawson's fuel dump gauge to fill the tanks.
Unfortunately whether I set the flow rate to a positive or a negative figure the result always appears the same - the tank empties rather than fills.
I didn't want to complicate matters by showing the full set of code I had devised to fulfill the task, so I shortened it to simply fill (hopefully) the left tank and empty the right one.
On pressing the 'FILL' switches on the gauge, left and right, both tanks empty.
I attach a pic of the much simplified gauge in action, both tanks started with 6000 lbs of fuel.
I also attach the much simplified code used.
Perhaps someone can see my error.
By the way, using the original gauge only slightly modified, and setting the tanks at the beginning to a high number of lbs of fuel, the gauge successfully stops emptying the tanks when the required amount is reached. It simply proved my gauge did what it had to do and that Doug's gauge was present and worked in some fashion. My only problem seems to be to fill the tank rather than to empty it!
Thanks
Walter
Code:
<Gauge Name="Fuel Tanks Filler" Version="1.0">
<Update Frequency="16"/>
<Image Name="FPBACKGROUND.bmp" />
<Element>
<Element>
<Position X="88" Y="50"/>
<Text X="100" Y="38" Bright="Yes" Length="5" Font="Arial" FontWeight="550" Color="#FF9966" BackgroundColor="Black"
Adjust="Left" VerticalAdjust="Center">
<String>%((A:FUEL LEFT QUANTITY, gallons) 6.7 * )%!05d!</String>
</Text>
</Element>
<Element>
<Position X="307" Y="50"/>
<Text X="100" Y="38" Bright="Yes" Length="5" Font="Arial" FontWeight="550" Color="#FF9966" BackgroundColor="Black"
Adjust="Left" VerticalAdjust="Center">
<String>%((A:FUEL RIGHT QUANTITY, gallons) 6.7 * )%!05d!</String>
</Text>
</Element>
</Element>
<Mouse>
<Area Left="101" Top="144" Right="148" Bottom="172">
<Cursor Type="Hand"/>
<Click>
-1550 (>L:RATE_TANK_MAIN_LEFT, number)
</Click>
</Area>
<Area Left="322" Top="144" Right="368" Bottom="172">
<Cursor Type="Hand"/>
<Click>
1550 (>L:RATE_TANK_MAIN_RIGHT, number)
</Click>
</Area>
</Mouse>
</Gauge>



