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.

Pop up gauges

Featured Replies

Hello Gents,I was wondering if it is possible to make any gauge in any aircraft a pop-up gauge, such that when you click on the guage in the 2D panel, it opens the same gauge in a larger window (like Reality XP has done with their gauges).So far as I know, the only impediment to doing this is having an ID for the guage, so that the sim knows what you mean when you click on it. Of course, gauges like Reality XP's have specific IDs modelled(?) into them so that the sim knows to create the larger version of it.But is there some easier work around this situation? For instance, could a person borrow an ID, say for the kneeboard, and assign it to an existing gauge for this purpose?

Hi,Yes that is possible.Make a bitmap (here pfd) and put it in the panel folder.Add a new window to the panel.cfg: windowxx=pfdif you want to enlarge a gauge pfd then:[Windowxx]file=pfd.bmpsize_mm=480,430windowsize_ratio=0.75window_pos=0.0,0.335visible=0ident=191 gauge00=gauges!pfd, 0, 0Make an xml gauge somewhere in the 2D panel with:<Click>191 (>K:PANEL_ID_TOGGLE)</Click>That is it.Works ok for me.Hope it helps,Jan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Hi Jan,Thanks for the really great information. I think I understand it all but let me ask you a few questions to be sure (also, I'm not at my computer at home so I can't test this out at the moment).1. The pfd bmp you are referring to is just a simple black background for the gauge, right? And in the example above, would I make the dimensions 480x430 pixels?2. You said to "make an XML guage in the 2d panel". Is it enough just to insert the text you showed? Or is there some other process to complete that aspect of the guage?Many thanks for your help,Brian

Hi,Talking about fs9 and XML.1. correct, any color is ok, not pure black because that is transparant, also a picture of something will do.2. no, you need a gauge in the 2D panel with contains that text.That can be an edited existing one or a new gauge; in that case you need to define it in the panel.cfg: gaugexx=zoom gauge, ..,..Btw. in case you don't have it, get the SDK.Hope it helps,Jan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

If the gauge you want to expand into a pop-up, is an .xml gauge you can add Jan's mouse script to the click.If it doesn't already have mouseable functions:

<Mouse>    <Area Left="X" Top="Y" Width="X" Height="Y">      <Cursor Type="Hand" />      <Click>191 (>K:PANEL_ID_TOGGLE)</</Click>    </Area></Mouse>

That will save having to create and place a new gauge.The area description will also allow placing the pop-up action where you want on the gauge.Important if it already has mouse function. Overlapping areas cause problems...Don

  • Author

Okay gentlemen,I've got the background to show up but I think I'm still missing some part to make the pop-up feature functional. Btw, I'm using FSX and the gauge in question is not an xml gauge. Thus, I believe I should pursue the option Jan suggested in altering an existing xml gauge.Jan; I borrowed an xml file from another plane, placed it in my panel folder then opened it up and placed the text you showed me at the top. But in your example for the pop-up window;gauge00=gauges!pfd, 0, 0Should the "gauges!pfd" be the name of the specific gauge to be popped up from the 2D panel or a generic name that differs?And within the text of the xml gauge itself, does the name of the gauge need to be named? In other words, is it enough to have the text of the xml gauge say: <Click>191 (>K:PANEL_ID_TOGGLE)</Click>Or is more required to make it functional?

Hi,1. all names are just examples from my own panel.The easiest way is making a new folder in the panel folder and give it a name that you want e.g. "mynewgauges".Place in that folder all your future selfmade gauges, xml and bitmaps.2. Make a small bitmap, icon, say 15x15, own artwork! and call it "first zoom icon.bmp", or any other name.Place it in the folder mynewgauges.If you have the new xml gauge with my code place it in the same folder.Make sure that it is a real xml gauge, not just a text file! Make a copy of an existing one, rename it to what you want e.g. "first zoomgauge", open it with Notepad, delete the text and paste:<Gauge Name="first zoomgauge" Version="1.0"><Image Name="first zoom icon.bmp"/><Mouse> <Area><Tooltip>Zoom in / out</Tooltip><Cursor Type="Hand" /> <Click>xxxxx (>K:PANEL_ID_TOGGLE)</</Click> </Area> </Mouse></Gauge>The number xxxxx refers to the ident in the window section in your new panel.cfg.[Windowxx]...ident=xxxxxThere are some restrictions in choosing a number but most will do; you can always change it.Watch the ident numbers in your panel.cfg!, it must be another of course.3. Say, the name of the new bitmap in your panel folder is "first zoom.bmp", the background,then the panel.cfg becomes:...[Window Titles]Window00=..Window01=..........Windowxx=first zoom //any name will do........Then:[Window00]file=etc........(.......gaugeyy=existing gauges) gaugexx=mynewgauges!first zoomgauge, xx, yy// the new gauge, icon, and position in the 2D panel........[Windowxx]file=first zoom.bmpsize_mm=aaa,bbb //the size you want; if the gauge measures aaa x bbbwindowsize_ratio=0.75 //the ratio you want,0-1window_pos=0.0,0.335 //the position you want, trial and errorvisible=0 //1 is visible at startupident=xxxxxgauge00=The gauge you want to enlarge, 0, 0, aaa, bbb gauge01=mynewgauges!first zoomgauge, 0, 0, // for closing the window, gauge in left top(Make sure that here is no clickspot!!)Hope it clarifies,Jan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

  • Author

Jan,Thanks for all you excellent detailed information.I was wondering if you could take a moment to look at what I've done and show me what I'm missing.Here is a portion of the panel cfg file that I've altered. As you can see, the new pop-up is window #8, called PFD (highlighted).panel2-1.jpgAnd here is a picture of the subfolder I made within the panel folder:panel1.jpgHere is the text from the xml gauge (FirstZoomGauge):<Gauge Name="FirstZoomGauge" Version="1.0"><Image Name="FirstZoomIcon.bmp"/><Mouse><Area><Tooltip>Zoom in/out</Tooltip><Cursor Type="Hand"/><Click>191(>K:PANEL_ID_TOGGLE)</</Click></Area></Mouse></Gauge>Lastly, here is the pop-up as seen in the 2D cockpit. Unfortunately, I couldn't get the mouse feature to work and the only way I can bring it up is ALT>Views>Instrument panel>PFD. The other thing is, none of the information is being transferred to this window. The enlarged PFD you see is actually the bmp background listed on the first line of Window#8.panel3.jpg

Hi,In general the PFD bitmap belongs in the panel folder, not in mynewgauges, so one folder up.Still it is visible one way or the other.Didn't know about the restrictions.Jan

Jan

 

 

 

"Beatus ille qui procul negotiis..."

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.