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.

A Panel.cfg "did you know that ...?"

Featured Replies

If it ever helps you save some debugging time .... :)(tested in FSX-Acceleration)As far as I know, there's no practicle limit on the number of gauge definitions in a panel.cfg window.Or that gauge numbers should be consecutive; just unique in a window.However, when using gaugenumbers above 101, be carefull !Try this:gauge00= ...gauge99= ...Works fine.Try this:gauge00= ....gauge102= ....Now gauge102 isn't loaded !(don't ask me how I ran into this, but it costed me two hours to find ...:) )In general, if you use gaugenumbers above 101, they need to be consecutive, without "holes" in the numbering.So:gauge00= ..................gauge100= ....gauge101= ....gauge102= ....gauge103= ...Works fine.But ingauge00= ...........gauge100= ....gauge101= ....//gauge102= .... (or leave out the line completely)gauge103= ...gauge103 isn't loaded....Have tried it in various panels, with various gaugenumbers above 101; always the same result ..On my PC, that is :)Cheers, Rob

However, when using gaugenumbers above 101, be carefull !
Thanks for the heads-up, Rob. And, you have a big panel.Bob

Off Topic,Combined a lot of "small" gauges in "big" ones so i have less than 20 in the panel.cfg.Is there a difference in performance?

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Off Topic,Combined a lot of "small" gauges in "big" ones so i have less than 20 in the panel.cfg.Is there a difference in performance?
I think that's an interesting question. I would like to see a discussion of panel related performance issues - my understanding is pretty shallow in this area. Need to search for this.Bob
  • Author
Off Topic,Combined a lot of "small" gauges in "big" ones so i have less than 20 in the panel.cfg.Is there a difference in performance?
Hi Jan,Theoretically the performance would be better with big combined gauges because of reduced schedule overhead, but I doubt if it would be noticeable.Didn´t help in my test case anyway, I was just adding something to a panel from someone else.Best, Rob
Off Topic,Combined a lot of "small" gauges in "big" ones so i have less than 20 in the panel.cfg.Is there a difference in performance?
Shouldn't be noticeable at all. Would be rather similar to test for a performance difference when reading a 10 records array vs a 150 records array..Few "big" gauges instead of lot of "small" gauges would have the advantage of keeping all the logic together and easy to follow and debug, BUT (there is always a BUT) a very big one might fail at one point as there is a limit in the number of elements and the stack capacity that a gauge may hold. Tom

So,As Johan Cruyff says:"Every advantage has its disadvantage".Not yet problems with elements and stacks and there are many.

Jan

 

 

 

"Beatus ille qui procul negotiis..."

Interesting,I am running into problems with my clicks filling up. It seems that it will run the code down to the last complete instruction above the limit then then ignore the rest.Also any macros in a nearly full click will crash the sim.Am thinking of using visibilty tag to get round this anyone had this problem?

Paul EGLD

It's <Click> here </Click>

Paul EGLD

I use very big macro's, see gps, and no problems:<Macro Name="name">code</Macro><Click>@name</Click>If you crash your code must be mega!

Jan

 

 

 

"Beatus ille qui procul negotiis..."

I've had some problems in the past with gauges having a lot of recursive macros, especially in the Update and Mouse sections. In those cases I had to split the logic into several elements.Tom

Jan, It is Mega but one small macro brings it downTom, I had to split a macro (array) up also to get three of the same macro into one click. I need to get one more in but it crashes the sim so more work is needed.

Paul EGLD

Tom, I saw this yesterday at FS developers and started working with it. Now that the final versions are here I will try it in the problem gauge.Thanks for your good work.

Paul EGLD

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.