Hobbs Meter INOP
-
- Posts: 54
- Joined: Mon Jul 29, 2013 2:33 am
Re: Hobbs Meter INOP
replaced file, hobbs stuck at 0's I am at cruiseN4GIX wrote: ↑Sun Jan 26, 2020 4:32 pmThe code for Hobbs was added to the Clock.xml file some weeks ago.
Here is the file. Drop it into the ..\panel\B350i folder and overwrite the one there already. Since the sim itself keeps track of engine hours, once this new file is added the next time you load the KA the total time will automatically be displayed!
Clock.zip
-
- Posts: 1023
- Joined: Mon Sep 06, 2010 3:47 pm
Re: Hobbs Meter INOP
It has been working here ever since I scripted this function. It is about as simple as it gets, using only default sim variables being summed and written to a custom (L:KA300_Hobbs,enum) variable.
Code: Select all
(A:GENERAL ENG ELAPSED TIME:1,hours) (A:GENERAL ENG ELAPSED TIME:2,hours) + (>L:KA300_Hobbs,enum)
-
- Posts: 54
- Joined: Mon Jul 29, 2013 2:33 am
Re: Hobbs Meter INOP
https://i.imgur.com/v9KIwdt.pngN4GIX wrote: ↑Mon Jan 27, 2020 4:08 pmIt has been working here ever since I scripted this function. It is about as simple as it gets, using only default sim variables being summed and written to a custom (L:KA300_Hobbs,enum) variable.
This script is in a section of the clock.xml that will continuously run as long as the aircraft is loaded in the sim. Within the compiled model itself there are five drum definitions that will parse the (L:KA300_Hobbs,enum) return and extract the digits individually for the display.Code: Select all
(A:GENERAL ENG ELAPSED TIME:1,hours) (A:GENERAL ENG ELAPSED TIME:2,hours) + (>L:KA300_Hobbs,enum)
Prepar3D_SLjUj7O3gb.png
-
- Posts: 1023
- Joined: Mon Sep 06, 2010 3:47 pm
Re: Hobbs Meter INOP
Check your panel.cfg file and see if B350i!B50i_logic gauge is installed. If so, please delete it. We found that a duplicate of the script was in that 'gauge' that is overwriting my identical script...
I removed that 'logic' gauge a long time ago which is why it is working here just fine.
I removed that 'logic' gauge a long time ago which is why it is working here just fine.
-
- Posts: 22
- Joined: Thu Apr 09, 2015 10:14 pm
Re: Hobbs Meter INOP
Unfortunately, nothing in my panel.cfg lists any reference to B350i!B50i_logic gauge. Is there anywhere else we should look?N4GIX wrote: ↑Tue Jan 28, 2020 1:43 amCheck your panel.cfg file and see if B350i!B50i_logic gauge is installed. If so, please delete it. We found that a duplicate of the script was in that 'gauge' that is overwriting my identical script...
I removed that 'logic' gauge a long time ago which is why it is working here just fine.
Mario
-
- Posts: 54
- Joined: Mon Jul 29, 2013 2:33 am
Re: Hobbs Meter INOP
No Logic lineN4GIX wrote: ↑Tue Jan 28, 2020 1:43 amCheck your panel.cfg file and see if B350i!B50i_logic gauge is installed. If so, please delete it. We found that a duplicate of the script was in that 'gauge' that is overwriting my identical script...
I removed that 'logic' gauge a long time ago which is why it is working here just fine.
I replaced clock.xml and there is a clock2.xml file and line in vcockpit 02
Do i need updated clock2.xml?
-
- Posts: 1023
- Joined: Mon Sep 06, 2010 3:47 pm
-
- Posts: 43
- Joined: Sun Jan 10, 2021 7:00 pm
Re: Hobbs Meter INOP
I downloaded this mod, however I cannot cycle between clock modes (UT, LT, ET) and the clock appears turned on as soon as I select the aircraft and won't turn off. And it keeps in a 12h time format instead of 24h time format.N4GIX wrote: ↑Sun Jan 26, 2020 4:32 pmThe code for Hobbs was added to the Clock.xml file some weeks ago.
Here is the file. Drop it into the ..\panel\B350i folder and overwrite the one there already. Since the sim itself keeps track of engine hours, once this new file is added the next time you load the KA the total time will automatically be displayed!
Clock.zip
Would anyone be so kind to send me the original Clock.xml file, because I didn't back the original up and wouldn't like to reinstall the whole aircraft only to recover the original gauge?
-
- Posts: 658
- Joined: Sun May 11, 2014 11:49 am
Re: Hobbs Meter INOP
Hi,CS-TMT wrote: ↑Thu Jan 21, 2021 11:09 pmI downloaded this mod, however I cannot cycle between clock modes (UT, LT, ET) and the clock appears turned on as soon as I select the aircraft and won't turn off. And it keeps in a 12h time format instead of 24h time format.
Would anyone be so kind to send me the original Clock.xml file, because I didn't back the original up and wouldn't like to reinstall the whole aircraft only to recover the original gauge?
That zip file is not valid since long ago. I asked Bill to remove the link. Sorry for this.
Please download this zip and extract both files in ...\Panel\B350i
Thanks!
Tomas
- Slayer
- Posts: 1517
- Joined: Sat Mar 08, 2014 3:26 am
- Contact:
Re: Hobbs Meter INOP
I'm going to sticky this. If I do a new installer build for the KA in the future it should be added in.
-
- Posts: 43
- Joined: Sun Jan 10, 2021 7:00 pm
Re: Hobbs Meter INOP
For those still wondering about how the Hobbs Meter works/where it takes data from, in the particular case of this King Air it has nothing to do with the previous mentioned state.cfg in the following folder:
C:\Users\YourUserName\AppData\Roaming\Lockheed Martin\Prepar3D v4\SimObjects\MV_King_Air_350i
The file which records the flight time is here:
C:\Users\YourUserName\AppData\Local\MVAMS\Configurations\KingAir350i\flight_time.cfg
Cheers!
C:\Users\YourUserName\AppData\Roaming\Lockheed Martin\Prepar3D v4\SimObjects\MV_King_Air_350i
The file which records the flight time is here:
C:\Users\YourUserName\AppData\Local\MVAMS\Configurations\KingAir350i\flight_time.cfg
Cheers!