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

FSX XML gauge "booting" screen

Messages
181
Country
czechrepublic
Hello,
could anyone share an idea how to make a booting screen for a XML glasscockpit display? I mean when I switch on the battery there should be the avionics manufacturers logo displayed for few moments with some animated bar running. I am sure I have seen it at some projects.

Regards,
Pavel
 
Honestly, it is simply a matter of creating a series of <Element> sections that will display as many "startup pages" you want, with either a mouse click or a timer to advance to the next page.

If you want a "moving slider" to indicate progress, then create one and have it move from left to right (or vice-versa), based either on a timer or a counter.

Here is an example from my GNS430 'boot up' sequence. In this case, a blinking "OK" in the lower right corner of the screen is waiting for the user to click on the "Enter" button.
Code:
    <Element>
         <Position X="121" Y="26"/>
            <Visible>(L:GNS430_1_power, enum) 2 == (L:InitHold_1, enum) 0 == &amp;&amp;</Visible>
        <Image Name="ES430_StartPage2.bmp" Bright="Yes"/>
    </Element>
    <Element>
        <Position X="360" Y="157"/>
            <Visible>(L:GNS430_1_power, enum) 2 == (L:InitHold_1, enum) 0 == &amp;&amp;</Visible>
                <FormattedText X="30" Y="22" Font="Arial Black" FontSize="12" LineSpacing="16" Adjust="Center" VerticalAdjust="Center" Color="0xC0C0C0" Bright="Yes">
                  <BlinkCode>@BlinkerCode</BlinkCode>
                  <String>\{blnk}OK?\{nr}</String>
        </FormattedText>
    </Element>
 
I like to use a counter.

Here is some code that checks if the GPS is on, there is electrical power and the avionics master switch is on. If not it turns of the GPS otherwise a counter adds up to 180 (about 10 secs).

I can then check the L:296_power status at a later time and display the appropriate screen. In this case if it is 0 the off screen, between 1 and 179 a bootup screen, at 180 a satellites screen which requires the user to click OK to continue to the GPS proper (at which point L:A2002_GPSon is set).

Code:
<Element>
    <Select>
        <Value>
        (A:Electrical Main Bus Voltage,volts) 5 &gt; (A:Avionics Master Switch,bool) (L:A2002_GPSon,bool) ! &amp; &amp;
         if{
           
           
           (L:296_Power,number) 1 &gt;
           if{
            (L:296_power,number) 179 &lt;
            if{
                (L:296_Power,number) ++ (&gt;L:296_Power,number)
                }
            }
          }
        els{
            1 (&gt;L:a2002_GPSon,bool)
            0 (&gt;L:296_Power,number)
            0 (&gt;L:296_CurrentPage,number)
            }
        }
         </Value>
    </Select>
</Element>
 
Hi, thank you for answers. I like the Bill's solution which I will hopefully try to implement.

Nice weekend gents!
Pavel
 
Back
Top