- Messages
- 10,163
- Country

Hey all,
I am working on a neat little readout plate, about 1 by 3 inches big, (very small), that is a transparent LCD HUD panel (plate). Its very simple, will have visible font that rotates through 4 readouts; ALT, HDG, ASI, and OAT.
What I am hung up on is how to control a timer that will show each one for roughly 5 seconds.
I was trying to use VoloLibirista's Timed code from last week, but the code I am using in my own stack assembly seems to not function.
Could someone perhaps give me a pointer on what I am doing wrong? I would be greatful.
This is what I have so far.
The system basically has 4 windows that are digital font strings. The controller has 4 L:var's for Visibility, and 4 L:var's for enum selection. Thus, it turns on and off the visibilities, per 5 seconds each.
Its a huge monstrocity of a code execution, so beware. Hold onto your eyebrows. Maybe place some bits of alum. foil over your eyebrows to protect them from hyper aging when viewing this code work.

I am working on a neat little readout plate, about 1 by 3 inches big, (very small), that is a transparent LCD HUD panel (plate). Its very simple, will have visible font that rotates through 4 readouts; ALT, HDG, ASI, and OAT.
What I am hung up on is how to control a timer that will show each one for roughly 5 seconds.
I was trying to use VoloLibirista's Timed code from last week, but the code I am using in my own stack assembly seems to not function.
Could someone perhaps give me a pointer on what I am doing wrong? I would be greatful.
This is what I have so far.
The system basically has 4 windows that are digital font strings. The controller has 4 L:var's for Visibility, and 4 L:var's for enum selection. Thus, it turns on and off the visibilities, per 5 seconds each.
Its a huge monstrocity of a code execution, so beware. Hold onto your eyebrows. Maybe place some bits of alum. foil over your eyebrows to protect them from hyper aging when viewing this code work.
Code:
[COLOR="Blue"][B]
<Element>
<Select>
<Value>
(L:AVE POPUP HUD, bool) 1 ==
if{
(L:AVE POPUP ENUM1,bool) 0 ==
(L:AVE POPUP ENUM2,bool) 0 ==
(L:AVE POPUP ENUM3,bool) 0 ==
(L:AVE POPUP ENUM4,bool) 0 ==
and and and
if{
1 (>L:AVE POPUP ENUM1,bool)
1 (>L:PLAY AVE POPUP ENUM1,bool)
(P:Absolute time, seconds) 5
+
}
}
if{
(L:AVE POPUP ENUM1,bool) 1 ==
(L:AVE POPUP ENUM2,bool) 0 ==
(L:AVE POPUP ENUM3,bool) 0 ==
(L:AVE POPUP ENUM4,bool) 0 ==
and and and
if{
1 (>L:AVE POPUP ENUM2,bool)
1 (>L:PLAY AVE POPUP ENUM2,bool)
(P:Absolute time, seconds) 5
+
}
}
if{
(L:AVE POPUP ENUM1,bool) 1 ==
(L:AVE POPUP ENUM2,bool) 1 ==
(L:AVE POPUP ENUM3,bool) 0 ==
(L:AVE POPUP ENUM4,bool) 0 ==
and and and
if{
1 (>L:AVE POPUP ENUM3,bool)
1 (>L:PLAY AVE POPUP ENUM3,bool)
(P:Absolute time, seconds) 5
+
}
}
if{
(L:AVE POPUP ENUM1,bool) 1 ==
(L:AVE POPUP ENUM2,bool) 1 ==
(L:AVE POPUP ENUM3,bool) 1 ==
(L:AVE POPUP ENUM4,bool) 0 ==
and and and
if{
1 (>L:AVE POPUP ENUM4,bool)
1 (>L:PLAY AVE POPUP ENUM4,bool)
(P:Absolute time, seconds) 5
+
}
}
if{
(L:AVE POPUP ENUM1,bool) 1 ==
(L:AVE POPUP ENUM2,bool) 1 ==
(L:AVE POPUP ENUM3,bool) 1 ==
(L:AVE POPUP ENUM4,bool) 1 ==
and and and
if{
0 (>L:AVE POPUP ENUM1,bool)
0 (>L:AVE POPUP ENUM2,bool)
0 (>L:AVE POPUP ENUM3,bool)
0 (>L:AVE POPUP ENUM4,bool)
1 (>L:PLAY AVE POPUP ENUM1,bool)
(P:Absolute time, seconds) 5
+
}
}
</Value>
</Select>
</Element>[/B][/COLOR]
Last edited:

