• 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.

Simple XML Gauge

So i checked my writings on my sim!

gauge03=DSD_P3D_Xml_sound_x64!Sound, 0, 0, 0, 0, .\SOUND\DSD\dsd_fsx_xml_sound.ini

This works.
DSD gauge is at the gauge folder
And dsd_fsx_xml_sound.ini and wav file is at SOUND\DSD folder.
 
So once more again the corrected panel.cfg

gauge03=DSD_P3D_Xml_sound_x64!Sound, 0, 0, 0, 0, .\SOUND\DSD\dsd_fsx_xml_sound.ini

is change to the [Vcockpit01]. So the DSD gauge will be loaded immediately.
Otherwise you have to open the sub-window [Window05] first before the sound -gauge will be loaded.
 

Attachments

I uploaded the new panel.cfg that you sent. The "beautiful" putt putt sound is playing nice and loud BUT...it starts as soon as I call up the popup window 5 before I activate the switch with the mouse click and won't shut down until I shut down the aircraft. It should not start until I click the "off" bmp. If we can fix it so that it only sounds when I activate the switch for the APU with the click, it will be perfect. Waiting for your reply. Thank you for working with me patiently. Here is the APU POWER gauge as it is now in the panel folder of the C-46. OI commented out the line in the vc but then it does not play at all again. I don't know enough and appreciate all your help. I will "un-comment" out that line in the vc so it is as you sent it to me. With the panel.cfg as you sent it the sound plays all the time as soon as the Window 5 is popped up. I tried a few things with the APUPOW.xml but no success. As they say, "the ball is back in your court". I'm out of ideas again.
 

Attachments

Last edited:
I'm glad that you hear "putt putt" sound. sounds really nice.

It was intended that it sounds permant. So i could test the DSD - gauge installation.

In your first post you had some >K: elements in the gauge.
A question:
Is this gauge necessary for engine starts or it is only an APU sound gauge.

And i hope you don't mind i will introduce left click and right click events. for me a must!
left click apu start
right click apu stop
 
The APU is actually to provide DC voltage which it does since I can monitor that on the overhead Voltage Gauge and also the Ammeter Gauges for left and right engines. I was playing with the original xml (with no success) to get the APU sound to start when I open up Window 5 and click the OFF bmp. That is what I would like for the gauge: Open Window 5...click the OFF bmp...ON Bmp is visible and the putt putt wav sound is audible. When the engines have been started, the ON bmp is clicked and the OFF bmp comes visible and putt putt stops. Can you write it to do that? And yes, a left click for on and a right click for off is no problem. I am familiar with left, right and mouse wheel commands.
 
The OFF bmp becomes visible when SHIFT 6 to open up Window 5 is clicked. I see in the text where you have left mouse click to turn on the APU and right mouse click to turn it off but it doesn't happen that way. I will try one more time to see if I didn't do it properly. No unfortunately it is not working. I only opened up the txt and saved it as xml in Notepad++ as I have been doing with the text files either xml or cfg with that program.I tried to comment out the lines to leave it a simple left mouse click but when I did that, then it would not popup at all so I put it back the way it was but the OFF bmp just stays there and the ON bmp does not or sound neither. I thought I had a brain storm and was clicking it backwards but no...SHIFT 6 does open up the popup window but right click on the OFF bmp does nothing either.
 
Last edited:
an AND was missing!
wrong variable used!

Opening the proper window is not affected by the xlm-gauge.
Does tooltip open proper?

next try.
 

Attachments

an AND was missing!
wrong variable used!

Opening the proper window is not affected by the xlm-gauge.
Does tooltip open proper?

next try. That did it. it works perfectly now. Thank you for all your help. I just looked online about the refrigerator and the man took the whole door off. I don't think I am going to do that at least not at this stage. Again thank you this I am going to share it with my flightsim partner.
ok next try. I will be right back. Trying to fix a refrigerator door stop and that didn't fix it opening too far either.
 
Yes both tooltips "APU Off" and "APU On" work. Just shut off the engines and the battery. The APU pops up beautifully with the sound but there is no battery voltage supplied. Is that a line of text that was not included? I know I didn't ask that. If the battery switch is on with the APU running there is 28 volts or with it off. Without it though I know the battery will eventually die. FSUIPC is not checked or set to unlimited battery. I looked and it's 9:15PM there by you. If you want to stop and pick it up tomorrow morning for you, that is fine. I am 6 hours behind you or GMT-5 time zone. Thank you much for all this.
 
Last edited:
I added all the line regard the apu which were already in your code. Check them.
Code:
If your hear the sound APU  is ON

        (L:APUPower,bool) 1 ==
        (L:dsd_fsx_sound_id_10,number) 0 ==
        and
        if{
          2 (>L:dsd_fsx_sound_id_10,number)

          1 (>K:APU_STARTER)                                <!-- from your gauge -->
          1 (>K:APU_GENERATOR_SWITCH_SET)    <!-- from your gauge -->
          }


No  APU  sound  so APU is  OFF

        (L:APUPower,bool) 0 ==
        (L:dsd_fsx_sound_id_10,number) 0 !=
        and
        if{
          0 (>L:dsd_fsx_sound_id_10,number)

          (>K:APU_OFF_SWITCH)                              <!-- from your gauge -->
          0 (>K:APU_GENERATOR_SWITCH_SET)      <!-- from your gauge -->
          }

Code:
 If the battery switch is on with the APU running there is 28 volts or with it off.

What do you mean?



I have my own APU.
So i have no idea how the APU and battery loading works in the sim.

But if you switch on the battery there should be some voltage.

Btw.
on https://www.douglassdawson.ca/ there is a gauge dsd_p3d_battery_charger_x64.zip
It's the fourth gauge from the bottom.
Yes, Doug Dawson is one of my heros!

I will check it.
 
Doug Dawsons is a dll gauge by itself. There is also a battery charger cart for Carenado. Switching on the battery there is 28 volts on the voltage gauge on the overhead so I will thank you again and we can consider this solved for all your hard work. Have a good night.
 
Back
Top