- Messages
- 10,088
- Country
Hey all,
I use timers for boot screens on screen type gauges all the time. My Stingrey recently done, had 3 screens and had several stage screen pop-ups for the bootup sequence for all three screens. WITH... dings and sounds...
But... I still do not fully understand them on the basic level. How do they work on the most basic basic level of explanation?
This is one of Dwight's boot screens from one of his exotic gauges. I had to redo some of it as it was half Macro scripted.
The above code by Dwight had several Elements within this one so that when this element was active, they showed up.
This is one of my boot screens from the Stingrey;
I use timers for boot screens on screen type gauges all the time. My Stingrey recently done, had 3 screens and had several stage screen pop-ups for the bootup sequence for all three screens. WITH... dings and sounds...
But... I still do not fully understand them on the basic level. How do they work on the most basic basic level of explanation?
This is one of Dwight's boot screens from one of his exotic gauges. I had to redo some of it as it was half Macro scripted.
Code:
<!-- BOOT UP SEQUENCE -->
<Element>
<Visible>(L:GTX327_POWER,bool) 0 == (L:GTX327_BOOT,bool) 0 == and if{ 1 (>L:GTX327_BOOT,bool)
1 (>L:GTX327_POWER,bool) (P:ABSOLUTE TIME,seconds) 5 + (>L:BOOTCOMPLETE,seconds) } </Visible>
</Element>
This is one of my boot screens from the Stingrey;
Code:
<!-- BOOT SCREEN -->
<!-- Initialize all variables when power is OFF -->
<Element>
<Select>
<Value>
(A:Avionics Master Switch,bool) 0 == (A:Electrical Master Battery,bool) 0 == || if{
0 (>L:3306BootScreen,enum)
0 (>L:3306BootTime,enum) }
</Value>
</Select>
</Element>
<!-- Start timer and increment when both battery and avionics are ON -->
<Element>
<Select>
<Value>
(A:Avionics Master Switch,bool) (A:Electrical Master Battery,bool) and (L:3306BootTime,enum) 320 <= and
if{ (L:3306BootTime,enum) ++ (>L:3306BootTime,enum) 1 (>L:3306BootScreen,enum) }
</Value>
</Select>
</Element>
<!-- Stop timer after 20 seconds -->
<Element>
<Select>
<Value>
(L:3306BootTime,enum) 320 > if{ 0 (>L:3306BootScreen,enum) }
</Value>
</Select>
</Element>
<!-- AAA While the "bootscreen" variable is ON and battery is ON, display the bootscreen bitmap -->
<Element>
<Visible>(L:3306BootScreen,enum) 1 == </Visible>
<Position X="0" Y="0"/>
<Image Name="Hello.bmp" ImageSizes="1500,681" Bright="Yes">
</Image>
</Element>
<!-- CCC While the "bootscreen" variable is ON and battery is ON, display the bootscreen bitmap -->
<Element>
<Visible>(L:3306BootTime,enum) 230 <</Visible>
<Position X="0" Y="0"/>
<Image Name="BootModelNumber.bmp" ImageSizes="1500,681" Bright="Yes">
</Image>
</Element>
<!-- CCC While the "bootscreen" variable is ON and battery is ON, display the bootscreen bitmap -->
<Element>
<Select>
<Value>
(A:Avionics Master Switch,bool) (A:Electrical Master Battery,bool) and (L:3306BootTime,enum) 179 == and
if{ 1 (>L:XMLSND192,bool) }
</Value>
</Select>
</Element>
<!-- CCC While the "bootscreen" variable is ON and battery is ON, display the bootscreen bitmap -->
<Element>
<Visible>(L:3306BootTime,enum) 165 <</Visible>
<Position X="0" Y="0"/>
<Image Name="BootCodeIntro.bmp" ImageSizes="1500,681" Bright="Yes">
</Image>
</Element>
<!-- BBB While the "bootscreen" variable is ON and battery is ON, display the bootscreen bitmap -->
<Element>
<Visible>(L:3306BootTime,enum) 70 <</Visible>
<Position X="0" Y="0"/>
<Image Name="SyrosScreenOff.bmp" ImageSizes="1500,681" Bright="Yes">
</Image>
</Element>