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.

PANEL_SERVICE_ for C gauges

Featured Replies

  • Commercial Member

Ok, got a question to anyone who can help.In gauges.h are several defines that start with PANEL_SERVICE_. They are passed as a 'service_id' to the main gauge callback function. Does anyone have information that provides better insight into each value and what they represent?

Ed Wilson

Mindstar Aviation
My Playland - I69

  • Author

I did a little research into that a while ago. Essentially, I created a gauge that counted every instance of every one of the PANEL_SERVICE_ events. Outputted the results to a plain text file.I have attached the subject gauge, along with the .c file which contains the important part of the source code. The archive also includes a handful of sample outputs, which may give you what you are looking for without the need of installing the gauge on a panel and running the thing.By way of explanation, in the text files, the number to the left of the 'equals' sign is nothing more than a counter. The number to the right is the number assigned to the given service id. This number is incremented by 100 if the pgauge->parameters pointer has a non-NULL value.DougEdit - if you do want to work with the gauge, the output file will be in your main FS folder.dsd

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.