Skip to content
View in the app

A better way to browse. Learn more.

The AVSIM Community

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Time Display Help

Featured Replies

Tom, I can not get the timer gauge to work, using your code. I have included my code for you to look at. I am sure that it is something simple, that I am missing, but right now my old brain is in overload. When the panel loads, with the following code, the timer shows a functioning clock. When I click nothing happens and the clock continues to run. With Jan's code, when the panel loads, the timer shows " 00:00:00 " and does not change until I click the mouse. It then shows the " Time " at the time of my mouse click. This value will remain the same, unless I click again. If you or another XML guru has a solution to fix this, I would welcome your advice.ThanksgreencoTimer 1 (P:Zulu time, seconds) (>L:FixedTime, seconds) %((L:FixedTime,hours) int)%!02d!%:%((L:FixedTime, minutes) 60 % int)%!02d!%:%((L:FixedTime, seconds) 60 % int)%!02d! (M:Event) 'LeftSingle' scmp 0 == if { 1 (>L:FixedTime,bool) } (M:Event) 'LeftRelease' scmp 0 == if{ 0 (>L:FixedTime,bool) }

Greenco,The correct code is:(P:Zulu time, seconds) (>L:FixedTime, seconds)Each time you click the mouse the current time is saved to the "FixedTime" variable.Tom

Hi,Of the record and may be known for a long time, but you can SET the plane's LatLon also with Tom's formula elixer:Read:%((L:LAT,degrees) d 0 >= )%{if}%N%{else}%S%{end} %( abs d flr )%!02d!

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Tom, something is still wrong. I replaced my "Mouse" code with your code and the gauge still gives me a working clock and the mouse click does not do anything. It is as if the " (P:Zulu time, seconds) (>L:FixedTime, seconds) " is set to "1" so the clock is running when the panel loads. Should something be changed, so that the clock is not running, when the panel loads?Thanksgreenco

Greenco,Sorry, I only focused on structure and didn't pay attention to the group in your code.Please remove this:(P:Zulu time, seconds) (>L:FixedTime, seconds)Which is actually updating the LVar continuosly, making it work like a clock, as noticed.Tom

Thanks Tom, I thought that was the problem. I didn't know that I could remove it, since it was used in the mouse area. It now works "GREAT" and the code is much cleaner. I will keep it for future references.Thanks a million for your help!!!greenco

hi,Did you notice the LatLon stuff?Jan"Beatus ille qui procul negotiis..."

Jan

 

 

 

"Beatus ille qui procul negotiis..."

No, I missed it, but I just went back and looked at it. I will also put this one away for future use.Thanksgreenco

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.