My first attempt was a gauge that was to be used in just one plane. I compiled it in 64 bit, using the gauges.h that came with the P3d v4 SDK, and then entered it into the dll.xml file, and entered the gauge in a popup window for the Beech Baron.. The gauge was supposed to return one simple integer value. It did not. I removed the gauge and the entry in the dll.xml file, and removed the call in the panel.cfg.
Then I thought just go to basics first, so I compiled the Cabin Comfort sample and the gauges.h, both of which came in the SDK. I entered it into the dll.xml file, and into the Baron panel.cfg file. I placed the dll file into the P3D v4 gauges folder. Just like the SDK instructions. Only zero values show up in the cabincomfort.xml gauge. So I removed the entry to the dll.xml file and made an entry into the gauges.cfg file, like people are discussing. Now No gauges will appear in the Baron, or the Mooney Bravo for that matter. Not even the default ones. I deleted the gauge from the gauges directory, and from the Baron panel.cfg file. And removed the entry from the gauges.cfg file. There are still no gauges in the Baron or Mooney.
This simulator is just giving me fits here
Hi,
It seems to me that you don't have a clear understanding of differences between a gauge.dll that is loaded through panel.cfg and a module.dll (like Cabin Comfort example) that is loaded with DLL.XML init file.
A gauge.dll must not be included in DLL.XML and a module.dll must not be loaded/referenced in panel.cfg.
P3D v4 SDK is correct :
Code:
[Window titles]
Window00=Main Panel
Window01=Radio Stack
Window02=GPS
Window03=Throttle Quadrant
Window04=Engine Gauges
Window05=Fuel Control
Window06=Electrical
Window07=Compass
Window08=Landing View
Window09=Outside Air Temp
Window10=Mini Panel
Window11=Cabin Add the line in bold to the [Window titles] section, though note that the Window number (Window11 in this case) may be different.
//-- Cabin ---------------------------
[Window11]
size_mm=225,145
position=6
visible=1
no_luminous=1
gauge01=CabinComfort!CabinComfort, 0,0 Add this entire section to the configuration file. Change the Window number if necessary.
gauge01 is an XML gauge providing the front end for CabinComfort.dll module.
In short, the XML gauge goes defined in panel.cfg and the dll module in dll.xml
I see you have already figured out this. If you are interested I can talk about the internal differences between gauges and modules, in few words.
Tom
Last edited:






