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.

How to get CLOCK in GW gauge demo working

Featured Replies

AAO 3.60 b32 - MSFS licensed

I know it's not an AAO bug, but I'm using this as an exercise to learn XML and MSFS gauges.

The demo gauges from GW in AAO_DesktopFips_Layout_Demo_C-152.xml points to LorbyClock.xml, but LorbyClock.xml doesn't exist in default C:\Program Files\LorbyAxisAndOhs_MSFS\LorbyGauges\Gauges.  But there is a GWClock.xml along with the other GW gauges in C:\Users\Papa\Documents\LorbyAxisAndOhs Files\UserGauges (no idea why GW didn't point to that one).

Problem trying to use GW Clock gauge:

  • open ClockBackground.png in 1024 folder for GW_Clock_C152 using Paintbrush to see exact size in Properties (240 x 240).
  • edit AAO_DesktopFips_Layout_Demo_C-152.xml using Notepad.
    • replace LorbyClock.xml with GWClock.xml, and replace size 190x190 to 240x240.
  • terminate connection with MSFS in AAO (it was running).
  • reconnect to MSFS and reload C-152 demo layout in AAO.

The Clock still does not show up...?  Any idea what syntax or step I'm messing up?

    <DesktopFipDef>
      <gaugeName>GWClock.xml</gaugeName>
      <xPos>-633</xPos>
      <yPos>455</yPos>
      <xSize>240</xSize>
      <ySize>240</ySize>
    </DesktopFipDef>


Somehow the Clock does appear in the image downloaded along with the GW gauges.

Robert

QQWaJH4.png


EDIT: If I open GWClock.xml using the new Editor, it seems to be working fine, the minute hand moved.

ji0wp7P.png


EDIT SOME MORE: This is what it looks like when I open the GW Demo Gauge Layout, no clock.

IvkPuwD.png
 

Edited by DemonDNF

  • Author

I found DesktopWebFips_MSFS.xml in C:\Users\Papa\AppData\Local\LORBY_SI\LorbyAxisAndOhsMSFS.  I replaced LorbyClock.xml for GWClock.xml and resized from 190x190 to 240x240, but it didn't make a difference.  It gets overwritten when I reload the Demo Layout.

I can see my 2 custom layouts at the bottom of that file, but it must get initialized from somewhere else.

The only thing I can think of is that GUID variable at the top of the layouts in that file, but no clue where to go from here.

EDIT: some details...

Yes, I run AAO as Admin.

And yup, I've tried restarting AAO completely, not just reconnecting, no difference.

Edited by DemonDNF

  • Commercial Member

You are not supposed to edit any XML files manually. That is not how this works and it will go wrong.

You replace a gauge by selecting it from the dropdown list in the desired spot on the "Display Virtual Instruments" dialog. That is also where you change position and size. Don't forget to save the layout when you change gauges and reload the layout again, so it is associated with your aircraft.

The LorbyClock should be part of the example gauges package that you can download from the AxisAndOhs website. The author of these gauges probably got it mixed up. 
The Gauge Editor is not required in any capacity here, unless you actually want to change the graphics or functionality of a gauge.

Make sure to take a look at the AxisAndOhs manual (click on the question mark in the menu bar), chapter 11 about Desktop FIPs, page 108.

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks, I've gone through that manual backwards and forwards.

This is for the next guy that just can't figure out how to add a new gauge into the layouts.  The PLUS sign will add "some" gauge, in my case it was the fuel gauge.  On that new gauge, CLICK on the tiny DOWN ARROW at the far right; that will give you access to all the available gauges.

That vacuum gauge for the Cessna 152 comes from this: https://fr.flightsim.to/file/38162/x-touch-mini-gauge-for-use-with-aao-axis-and-ohs

e0K85qd.png

  • Commercial Member
1 hour ago, DemonDNF said:

On that new gauge, CLICK on the tiny DOWN ARROW at the far right

Actually, clicking anywhere in that box should open the drop down list (=not only on the arrow, but anywhere in the text too). As is mentioned in the bullet list on on page 108 of the AAO manual. Also note that position and size are changed by placing the cursor over the numbers and spinning the mouse wheel (over the left half of the number = big changes, over the right half = small changes)

Edited by Lorby_SI

LORBY-SI

  • Commercial Member
1 hour ago, DemonDNF said:

The PLUS sign will add "some" gauge, in my case it was the fuel gauge

It is always the first gauge in the (alphabetical) list of gauge titles from all the gauge XML files that AAO can see (internal and user gauges). 

Edited by Lorby_SI

LORBY-SI

  • Author

Thanks for the push in the right direction Lorby, and thanks to developpers like G.W. (G.W. demo gauges), and Huha001 (X-Touch Mini Gauge), I now have the 3 missing gauges for the Cessna 152.

Last time I touched something remotely like this was when HTML first came out.   😄

TkVIkx3.jpg
 

Archived

This topic is now archived and is closed to further replies.

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.