December 31, 201015 yr HelloI have searched through the forums for a solution but without success.I am trying to make a simple gauge, which consists of a signal lamp that blinks continuously when the door is open. However, I am having difficulty in understanding the timer function.Here is my code without the timer code for the blinking function.<Gauge Name="Red Signal Lamp" Version="0.1"><Image Name="Door Lamp.bmp" Luminous="No" ImageSizes="159,159"/><!-- DISPLAY =============================================== --><Element><Image Name="Red_Lamp_Off.bmp" Luminous="Yes" ImageSizes="93,93"/><Position X="33" Y="32"/></Element><Element><Visible>(A:CANOPY OPEN,bool)</Visible><Image Name="Red_Lamp_On.bmp" Luminous="Yes" ImageSizes="93,93"/><Position X="33" Y="32"/></Element></Gauge>My question is, how can I insert code in the above to make the gauge blink when the door is open?Thanks in advance for any help.Terry
December 31, 201015 yr Try this thread: http://forum.avsim.net/topic/287225-asynchronous-intermittence/page__p__1779303__hl__blink__fromsearch__1#entry1779303 ...Don
December 31, 201015 yr Author Try this thread: http://forum.avsim.net/topic/287225-asynchronous-intermittence/page__p__1779303__hl__blink__fromsearch__1#entry1779303 ...DonHi Don,Thanks for your reply.I have seen this topic during my search and tried to implement it. However, I could not get it to work.How do I insert the code into my existing gauge code?Terry
December 31, 201015 yr Hi,Try:<Element><Position X=".." Y=".."/><Visible>(A:CANOPY OPEN,bool) (P:Absolute time,seconds) 1 % 0.7 > ! and</Visible><Image Name="On.bmp" Bright="Yes"/></Element>Hope it helps,Jan Jan "Beatus ille qui procul negotiis..."
December 31, 201015 yr Author Hi,Try:<Element><Position X=".." Y=".."/><Visible>(A:CANOPY OPEN,bool) (P:Absolute time,seconds) 1 % 0.7 > ! and</Visible><Image Name="On.bmp" Bright="Yes"/></Element>Hope it helps,JanHallo Jan,I have tried your code and it works perfectly.Thanks a lot for your help.Terry
Create an account or sign in to comment