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.

Hobbs Meter (Elapsed Time)

Featured Replies

  • Moderator

In trying to "calibrate" my CJ1's Hobbs gauge, I've run into an interesting situation...It seems that ELAPSED_SECONDSvar.var_value.n is running at "half speed."With the expression:total_time = total_time + (( ELAPSED_SECONDSvar.var_value.n / 100000000 ) / 360 )total_time should increment by 1 every 6 minutes...However, it's not! It is incrementing every 12 minutes... :-mad I have to use:total_time = total_time + (( ELAPSED_SECONDSvar.var_value.n / 100000000 ) / 180 )in order to obtain my needed 1/10th hour increment (every 6 minutes)...Has anyone else ever run into such a strange thing like this?

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Hi Bill, I'm sure you already know this, but if you write your gauge in XML, the hours can be displayed as stored by FS2004.Just a thought,Nick.

  • Author
  • Moderator

I can actually fetch that same information in a C gauge (by calling for the XML variable). However, I can't RESET that value to zero via a hidden click spot... ;)Oddly enough, I discovered that the odd behavior I obtained was the result of having two (or more) instances of the same gauge in the panel.cfg. I have the Hobbs on the VC of course (which is needed to properly initialize the gauge when first loaded), but also have it on a "popup window" for 2d panel users.It seems the calculations being done in the same gauge were interfering with one another... :(Now, I've recoded the Hobbs into a "server gauge" and a "remote display." That seems to have cured the odd time keeping problem.Thanks for the note though! :-)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator
  • 4 weeks later...

Nick, can you tell me how to display the hours stored by FS2004?I don't find the name of the parameter.Thank you very muchAlberto

  • Author
  • Moderator

GENERAL_ENG_ELAPSED_TIME:1GENERAL_ENG_ELAPSED_TIME:2etc.

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thank you very much Bill. I believe this is a token var that can not be used in xml. Do you know the equivalent parameter in xml. Thanks again.Alberto

%((A:GENERAL ENG ELAPSED TIME:1, seconds) 3600 / d 1 % 60 * r flr )%E1 %!05.0f!:%!02.0f!Nick

  • Author
  • Moderator

>Thank you very much Bill. I believe this is a token var that>can not be used in xml. Do you know the equivalent parameter>in xml. >Thanks again.>AlbertoAs Nick has shown, the only difference is the absence of the underscore character... :)

Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Thank you Nick, I have just tested it and works fine. Do you know how to display frames per second in XML?Alberto

I believe this is impossibe in XML,Nick.

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.