Page 1 of 1

inoperative gauges !

PostPosted: Tue May 25, 2010 6:56 am
by DeryckB
I have FSX and have some Flight Deck aircraft which I fly.
I am trying to get some inoperative instruments in the C-2A Greyhound to operate properly. I got the left fuel gauge to work but so far the right fuel gauge refuses to function.
The fuel type is set to jeta=2 but I have had to modify the XML file to use 6.7 lbs/gal as the multiplier.
Using Blackbox shows that the main A: outputs are working on both gauge XML's. Would reinstalling FSX,etc get results or am I missing something. I use Foxe to edit the XML's.

The instrument files are in the sim objects,airplanes,panel, abXXXXgreyhound section. should my modded ones be cab filed ?. What use is the gauges section of the fsx folders ?.
Here are excerpts from some of the configs and XML files.

XML files
:-/

Re: inoperative gauges !

PostPosted: Tue May 25, 2010 9:10 am
by Tech Diver
It looks like you have a typo in one of the two fuel quantity variables:
(A:Fuel Left Quantity, gallons) is fine but,
(A:Right Fuel Quantity, Gallons) should be Fuel Right not Right Fuel.

As for the directories, the Gauges directory under the main FSX directory makes the gauges global. That is, all aircraft can see them. To supply a gauge just for one aircraft, create a directory under the Panel directory of the particular aircraft.

It is not necessary to use CAB files, as you can merely put the gauges in a directory. If you have a directory called Foo and a gauge called Bar you would invoke it by a reference Foo!Bar in Panel.cfg. If you had a CAB file called Foo with a gauge called Bar, you would refer to it in exactly the same manner. The CAB file could either be located in the Panel directory or in the main FSX Gauges directory as described in the previous paragraph.

Peter

Re: inoperative gauges !

PostPosted: Thu May 27, 2010 3:38 am
by DeryckB
Thanks for pointing out the typo, Peter. The gauge is still inoperative.

Re: inoperative gauges !

PostPosted: Wed Jun 02, 2010 5:33 am
by DeryckB
Ha!!! Stupid !! Stupid!!. :'(
I am editing the XML for the gauges from WITHIN the FSX folder. I am using WIN7 and it seems to provide heavy protection for the files (without notifying me). If I move the XML file to be altered to the desktop ( despite WIN7 protestations) and do the business then move it back to its home ( more complaints from WIN7), then the changes are permanent. Now I have to figure out how to alter my admin rights to allow unfettered fiddling.

I cannot complete the ACES gauge tutorial (missing *.bmap), also in the FSX folder, and WIN7 is probably interfering as well !. More blundering to follow !!.

PS. The Missus is wondering why I am persisting with something that seems to be an exercise in futility !!

Re: inoperative gauges !

PostPosted: Wed Jun 02, 2010 5:49 am
by ShaneG_old
A bit of a pain at this point for you, but installing FSX, or any other programs you would want to tweak & modify consistently, into a location that is NOT the default location in C:/program files, will usually solve most of these headaches.  ;)

Re: inoperative gauges !

PostPosted: Wed Jun 09, 2010 4:36 am
by DeryckB
More questions,
I have overcome the abovementioned problems and am now attempting to get the ECU window to work with the mouse.
I have read some tutorials dealing with the subject but the explanation of some of the arithmetic in these lines eludes me.

Re: inoperative gauges !

PostPosted: Wed Jun 09, 2010 4:57 am
by Travis
Understand that I know almost NOTHING about gauge programming:

I would recommend that you go see the folks over at FS Developer.  They seem to be the forefront of FS tech and programming.  If your answer is findable, it is there.

Re: inoperative gauges !

PostPosted: Fri Jun 11, 2010 5:19 am
by DeryckB
Thanks for the pointer. I have also managed to find the MS SDK

Re: inoperative gauges !

PostPosted: Fri Jun 11, 2010 8:19 am
by Tech Diver
I've been rather busy lately so I was not able to respond sooner, but here is the answer to your questions in the Mouse Click section:

http://www.fs2x.com/Tutorials_files/XML ... ctions.pdf

I will check back in a few days to see if you have any specific questions and will endeavor to answer them.

Peter

Re: inoperative gauges !

PostPosted: Mon Aug 02, 2010 4:39 am
by DeryckB
Can anyone provide clarification about this line of code: