What drives gauges?

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

What drives gauges?

Postby ubalmoral » Fri May 21, 2004 8:47 am

I've rebuilt a DC-3 panel and added several gauges that work fine, but I've got a problem with two of them.
The gauge that's supposed to show fuel useage shows fuel remaining and fuel used, but not gallons per hour or time to empty.
The panel doesn't have a GPM gauge yet. Could it need one for the other gauge to work?
The second troublesome gauge is supposed to alert if the barometric pressure is different from what's set on the altimeter. It doesn't work at all.
Any ideas, anybody?
Thanks,
Paul Shell  
ubalmoral
Ground hog
Ground hog
 
Posts: 28
Joined: Thu Jul 31, 2003 10:54 am

Re: What drives gauges?

Postby ubalmoral » Fri May 21, 2004 9:15 am

OOPS! I meant the panel doesn't have a GPH (gallons per HOUR) gauge.
P. Shell
ubalmoral
Ground hog
Ground hog
 
Posts: 28
Joined: Thu Jul 31, 2003 10:54 am

Re: What drives gauges?

Postby garymbuska » Fri May 21, 2004 10:20 am

It might help if you were a little more specific ???
What program did you use to make the panel with?
How did you put the gauges in the panel?
Is this a XML gauge?
There are several types of fuel gauges not all of them show GPM. You might be using the wrong gauge.
Your second gauge sounds like a xml gauge but with out the name of the gauge I am just guessing?
Give us the names of the gauges you are using and I am sure some can help you out? 8)
Last edited by garymbuska on Fri May 21, 2004 10:21 am, edited 1 time in total.
Gary M Buska
SYSTEM Specs ASUS P8Z68 V/GEN 3 mother board: INTELL I7 2600k 3.48 ghz Quad core CPU with Sandy bridge: 12 Gigs of 1800hz ram:
GTX 950 OVER CLOCKED: 2 Gigs Ram Windows 10 Home 64 bit Operating system. 750W Dedicated modular power supply. Two Internal 1TB hard drives 1 External 1TB 3.2 USB hard drive. SAITEK Cessna flight Yoke with throttles.
CH Rudder Peddles 27 inch Wide screen Monitor
User avatar
garymbuska
Major
Major
 
Posts: 4415
Joined: Tue Dec 30, 2003 11:10 am
Location: Jacksonville, Florida

Re: What drives gauges?

Postby ubalmoral » Fri May 21, 2004 11:24 am

I'm just moving around and assigning different gauges that are in the gauges folder to a panel I downloaded.
I'll get the names of the gauges and post them.
Thanks,
P. Shell  
ubalmoral
Ground hog
Ground hog
 
Posts: 28
Joined: Thu Jul 31, 2003 10:54 am

Re: What drives gauges?

Postby WebbPA » Fri May 21, 2004 11:45 am

There is a great all purpose gauge for this called RKG_fuelstat.gau.  It comes with John Consterdine's 2002 Beech Baron Panel, or I could shoot you a copy if you can't find it.  (I'm at work so it may be a while.)
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: What drives gauges?

Postby ubalmoral » Fri May 21, 2004 6:27 pm

Hey, many thanks!
I found the RKG_fuelstat.gau and installed it and it works fine!
Now I just have to get that pressure gauge working.
I discovered it's apparantly meant for the 737-400 panel, so I may have installed it wrong somehow.
I'm going to go back and unzip it again and start over.
Thanks again,
P. Shell
ubalmoral
Ground hog
Ground hog
 
Posts: 28
Joined: Thu Jul 31, 2003 10:54 am

Re: What drives gauges?

Postby WebbPA » Fri May 21, 2004 8:13 pm

Read the readme file.  This gauge will work with any type of ac.  If it doesn't work you probably have it configured incorrectly.
WebbPA
Ground hog
Ground hog
 
Posts: 0
Joined: Sat Sep 25, 2010 6:01 pm

Re: What drives gauges?

Postby garymbuska » Thu May 27, 2004 1:41 pm

Why dont you download CFGedit. It is freeware and is a handy tool for panel editing. The best feature of this program is that it lets you see the gauge you want, that way you can make sure it is the one you want.
CFGedit will not allow you to edit XML gauges though.
The only program that will is not free ware.
Gary M Buska
SYSTEM Specs ASUS P8Z68 V/GEN 3 mother board: INTELL I7 2600k 3.48 ghz Quad core CPU with Sandy bridge: 12 Gigs of 1800hz ram:
GTX 950 OVER CLOCKED: 2 Gigs Ram Windows 10 Home 64 bit Operating system. 750W Dedicated modular power supply. Two Internal 1TB hard drives 1 External 1TB 3.2 USB hard drive. SAITEK Cessna flight Yoke with throttles.
CH Rudder Peddles 27 inch Wide screen Monitor
User avatar
garymbuska
Major
Major
 
Posts: 4415
Joined: Tue Dec 30, 2003 11:10 am
Location: Jacksonville, Florida

Re: What drives gauges?

Postby bolivazio » Tue Jun 01, 2004 2:59 am

Hi people!
My name is Valerio. I've a PP Licence and I'm a C++, Pascal and Basic programmer. I'd like to know if it's possible to carry out a procedure/program that picks up flyng data (altimeter, speed, etc) and put it out during a flyng session with Flight Simulator 98/2002.
I'm trying to create an electromechanical interface and I need that data. Someone can help me? Thanks a lot.
bolivazio
Ground hog
Ground hog
 
Posts: 3
Joined: Tue Jun 01, 2004 3:21 am

Re: What drives gauges?

Postby greekydeke » Fri Jul 09, 2004 8:55 pm

Valerio:

Given your C++ programming experience, you might consider writing a simple gauge DLL (.GAU file)  that gets FS gauge variables and sends them to a system output port instead of driving gauge components.

The starting point for your project would be Microsoft's FS2000 "Building Panels and Gauges" SDK.  I think it might still be available on Microsoft's FS downloads website.  It has all the info you'll need for your project.  I think that SDK is included in SDK's for FS2002 and FS2004, but I'm not sure.

The SDK has an 18-page list of gauge variables that you can use, along with the necessary header and resource files.  Your C++ code would be relatively simple; a couple of lines to get the instantaneous value for the token variable you want (e.g. airspeed) and pass it to a system output port that's connected to whatever external device you plan to drive.

When you compile the gauge DLL you'll give it a  filename with a .GAU file extension.  To activate your data gauge you have to (1) put a copy of your gauge in your GAUGES folder, and (2) make a gauge entry in the [Window00] section in your aircraft's PANEL.CFG file.  When you do that your data gauge DLL will be linked to FS and the flight data you want will start being sent to your output port when you select your aircraft and fly it.  Your gauge entry will be simple; gauge sizing and position parameters won't be necessary.  For example, if you name your gauge "myDataGauge.GAU" your [Window00] gauge entry would look something like this:

[Window00]
...
gauge10=Cessna!airspeed, 75, 150
gauge69=myDataGauge
...

Since the token variables for .GAU gauges are available in FS98 through FS2004, this approach to your problem should work in all those versions of FS as well.

Good luck on your project!

Best regards,

Ken Smith
Abingdon, Maryland USA
greekydeke
Ground hog
Ground hog
 
Posts: 22
Joined: Mon Mar 08, 2004 9:35 pm


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 99 guests