collapse

* Who's Online

  • Dot Guests: 23
  • Dot Hidden: 0
  • Dot Users: 0

There aren't any users online.

* Recent Topics/Posts

Hello from Canada by ChrispyBiscuit99
[April 30, 2024, 06:49:56 AM]


DCStoF4 (Standalone version) by questerymj
[April 20, 2024, 12:50:58 PM]


Last BMS version and the CANOPY SPIDER by mihi4
[April 20, 2024, 11:57:37 AM]

Author Topic: Falcon BMS Altimeter and MFD Exporter issue  (Read 4780 times)

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
Falcon BMS Altimeter and MFD Exporter issue
« on: September 15, 2012, 03:27:53 AM »
I don't know where to post this but I have a discordance between Falcon BMS Altimeter reading and the one on my pedestal exported by MFD Exporter 0.5.
When I start the program the altimeter from BMS on the main display show a pressure of 1010 Mb while the one on the center pedestal made by MFDE shows 1013 Mb.
If I turn the knob both move but they don't get synchronized.
I also have the pressure flag active on the center pedestal but not on the BMS altimeter.
During the flight the altimeter datas of the two instruments don't show the same altitude but there is a discordance of about 100 feets
What I can do to have both instruments showing the same data?

CobaltUK

  • Guest
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #1 on: October 30, 2012, 02:53:17 PM »
Bump !

Offline Red Dog

  • Administrator
  • General
  • *****
  • Join Date: Mar 2004
  • Location: Brussels
  • Posts: 3946
  • Country: be
  • VP Awards 3000+ posts Award: Awarded for achieving over 3000 posts Gold Medal Award: Awarded for special contributions to the community Outstanding Build Award: Awarded for an outstanding pit build Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Top Poster Award: for those 30 members with most posts Old Geezer Award: Awarded after 10 years of community service Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Buy me some coffee
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #2 on: October 31, 2012, 10:23:52 AM »
Quote
If I turn the knob both move but they don't get synchronized.
As far as I know this is not possible because in BMS 4.32, the pressure setting is not externalized and MFDE will remain stuck at his default value.
Although the main needles of the MFDE exported altimeter will show the correct altitude according the the pressure setting inputted in the 3D cockpit.
So in the end, the needles are in sync, but the pressure windows is not, because it is not implemented as a shared mem bit in 4.32
So you will have to use the setting indicated in the 3D pit until 4.33 is released, where all that has been implemented.

Quote
I also have the pressure flag active on the center pedestal but not on the BMS altimeter.
Same reason, there is no externalisation yet for that flag in the 4.32 shared mem
It is present  in the next BMS version

Quote
During the flight the altimeter datas of the two instruments don't show the same altitude but there is a discordance of about 100 feets
What I can do to have both instruments showing the same data?

I have been using MFDE and BMS 4.32 together for some time know and although there are(were) some inverted needle movement) I don't recall having the altimeter NOT matching unless I encoded a wrong pressure setting. But eventhough in that case, both altimeter (3D and exported) showed the same deviation)
Have a bandit day - Red Dog
Red Dog flight sim's stuff
Red Dog models
Red Dog PPL
Red Dog Discord: 947914531772964865

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #3 on: October 31, 2012, 01:35:31 PM »
Red Dog,
many thanks for your message.
I'll look forward to BMS 4.33.

Offline sagrzmnky

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: Mar 2011
  • Location: San Antonio, Texas
  • Posts: 3279
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service 3000+ posts Award: Awarded for achieving over 3000 posts Most Time Online Award: Awarded to those 30 members with most time on the forum Silver Heart Award: Awarded to those showing a real heart for the community and/or it's cause Gold Medal Award: Awarded for special contributions to the community Top Poster Award: for those 30 members with most posts
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #4 on: October 31, 2012, 03:52:48 PM »
BMS 4.33 ??

 :happycrowd: :bouncegroup: :rabbits:

Woah... how did that last one get in there. I don't know if I would be that excited, but who knows?   :biggrin:
Phillip "Grease Monkey" Clark

My build thread
http://www.viperpits.org/smf/index.php?topic=6942.0
 Pokeys, x-key

junior_1967

  • Guest
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #5 on: October 31, 2012, 05:40:30 PM »
Now that is good news!  :yihaw: :yihaw: :yihaw:

On the MFDExtractor's side, you are right in saying that the values do not match. I debugged the problem and traced it back to the way MFDEx determined if BMS 4.32 is running.
It would seem that the value of ProductMinorPart has been changed from what is now the value of FileMinorPart(Or something similar... working from memory here) to the actual number (32)...
Now the comparaison is no longer valid, reverting to non extended shared mem.

I've changed it for the right value and now my Altimeter displays the correct value.

So I guess Lightning will have to revisit this....

Cheers,

Offline bluc69

  • -=VP Veteran Donor=-
  • General
  • *
  • Join Date: May 2012
  • Location: Lecco
  • Posts: 596
  • Country: it
  • Luca "Merlin" Bolis
  • VP Awards Most Time Online Award: Awarded to those 30 members with most time on the forum Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #6 on: October 31, 2012, 05:43:11 PM »
Now that is good news!  :yihaw: :yihaw: :yihaw:

On the MFDExtractor's side, you are right in saying that the values do not match. I debugged the problem and traced it back to the way MFDEx determined if BMS 4.32 is running.
It would seem that the value of ProductMinorPart has been changed from what is now the value of FileMinorPart(Or something similar... working from memory here) to the actual number (32)...
Now the comparaison is no longer valid, reverting to non extended shared mem.

I've changed it for the right value and now my Altimeter displays the correct value.

So I guess Lightning will have to revisit this....

Cheers,
Could you please explain what I have to change and where?
Thanks

junior_1967

  • Guest
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #7 on: October 31, 2012, 07:46:04 PM »
In Project MFDExtractor , in the file Extractor.cs find the following block:

                        if (newReader)
                        {
                            string exePath = F4Utils.Process.Util.GetFalconExePath();
                            FileVersionInfo verInfo = null;
                            if (exePath != null) verInfo = System.Diagnostics.FileVersionInfo.GetVersionInfo(exePath);
                            if (format.HasValue && format.Value == FalconDataFormats.BMS4 && verInfo != null && ((verInfo.ProductMajorPart == 4 && verInfo.ProductMinorPart >= 6826 ) || (verInfo.ProductMajorPart > 4)))
                            {
                                EnableBMSAdvancedSharedmemValues();
                            }
                            else
                            {
                                DisableBMSAdvancedSharedmemValues();
                            }

                        }


Replace the bold part by verInfo.ProductMinorPart == 32 && verInfo.ProductBuildPart >= 3  

Then do the same in this block

            else if (currentDataFormat.HasValue && currentDataFormat.Value == FalconDataFormats.BMS4 && verInfo != null &&
                     ((verInfo.ProductMajorPart == 4 && verInfo.ProductMinorPart >= 6826) ||
                      (verInfo.ProductMajorPart > 4)))

Compile and you should be good to go...

Cheers!
« Last Edit: October 31, 2012, 07:52:53 PM by junior_1967, Reason: Adding forgotten block.... »

Offline Falcas

  • Maj. General
  • *****
  • Join Date: Nov 2005
  • Location: Purmerend, The Netherlands
  • Posts: 334
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • http://www.weapondeliveryplanner.nl
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #8 on: November 01, 2012, 02:58:14 PM »
A little voice tells me that a version of MFDE for 4.33 is already being tested. 😉

Gr Falcas
My site: Weapon Delivery Planner Ver 3.7.11.117
MC Ver 0.5.10.398
WC ver 1.3.0.11
Set HUD only 1.4.0
AIC ver 6.5.7

Offline Tulkas

  • General
  • ******
  • Join Date: Sep 2007
  • Location: Norway
  • Posts: 1009
  • Country: es
  • VP Awards 1000+ posts Award: Awarded for achieving over 1000 posts Old Geezer Award: Awarded after 10 years of community service Top Poster Award: for those 30 members with most posts Most Time Online Award: Awarded to those 30 members with most time on the forum
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #9 on: November 01, 2012, 06:09:21 PM »
A little voice tells me that a version of MFDE for 4.33 is already being tested. 😉

Gr Falcas

And does the little voice say anything regarding how satisfactory the test are so far?  ;D

Cheers

Tulkas

Offline Venom

  • General
  • ******
  • Join Date: Sep 2003
  • Location: Valley of the Sun
  • Posts: 730
  • Country: us
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #10 on: November 01, 2012, 07:12:14 PM »
A little voice tells me that a version of MFDE for 4.33 is already being tested. 😉

Gr Falcas

And does the little voice say anything regarding how satisfactory the test are so far?  ;D

Cheers

Tulkas

Extremely well


or at least I hope so.

;)

Offline Falcas

  • Maj. General
  • *****
  • Join Date: Nov 2005
  • Location: Purmerend, The Netherlands
  • Posts: 334
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • http://www.weapondeliveryplanner.nl
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #11 on: November 02, 2012, 02:28:52 AM »
Works great. ;) A lot of little changes and fixes for MFDE.
However, there is still a bunch of work that needs to be done.
I'll post a changelog later on.

Gr Falcas
My site: Weapon Delivery Planner Ver 3.7.11.117
MC Ver 0.5.10.398
WC ver 1.3.0.11
Set HUD only 1.4.0
AIC ver 6.5.7

Offline raptor

  • General
  • ******
  • Join Date: Oct 2005
  • Location: Athens
  • Posts: 735
  • Country: gr
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • 16th Ark Angels
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #12 on: November 02, 2012, 07:11:30 AM »
Looking forward for an updated version.  :thumbsup:

Offline Focaldesign

  • General
  • ******
  • Join Date: Dec 2012
  • Location: Mol
  • Posts: 1047
  • Country: be
  • VP Awards King for a Day Award: Awarded for an exemplar contribution to the community Old Geezer Award: Awarded after 10 years of community service 1000+ posts Award: Awarded for achieving over 1000 posts Top Poster Award: for those 30 members with most posts
    • Buy me a drink
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #13 on: December 30, 2013, 11:22:24 AM »
Quote
If I turn the knob both move but they don't get synchronized.
As far as I know this is not possible because in BMS 4.32, the pressure setting is not externalized and MFDE will remain stuck at his default value.
Although the main needles of the MFDE exported altimeter will show the correct altitude according the the pressure setting inputted in the 3D cockpit.
So in the end, the needles are in sync, but the pressure windows is not, because it is not implemented as a shared mem bit in 4.32
So you will have to use the setting indicated in the 3D pit until 4.33 is released, where all that has been implemented.
How are you guys doing QNE/QNH settings in a homebuild pit when BMS empty shell is activated? Seems silly to turn empty shell off just so you can read/set the pressure, but I assume that's the only option now?

Offline Snowman

  • -=VP Veteran Donor=-
  • Brig.General
  • *
  • Join Date: May 2008
  • Location:
  • Posts: 284
  • Country: nl
  • VP Awards Old Geezer Award: Awarded after 10 years of community service
    • Snowman Falcon
    • Awards
Re: Falcon BMS Altimeter and MFD Exporter issue
« Reply #14 on: December 30, 2013, 04:38:53 PM »
Yes. Thats the only option.
Or set the altimeter to the airfield altitude but that clearly only works when ramping...


Snowman

 

SimplePortal 2.3.5 © 2008-2012, SimplePortal