Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
Collapse
Just Flight Community Forum
  1. Home
  2. Just Flight
  3. MSFS Products
  4. Black Square Add-Ons
  5. Commander 114
  6. MC60 and GNS 530 Interaction Issue

MC60 and GNS 530 Interaction Issue

Scheduled Pinned Locked Moved Commander 114
15 Posts 5 Posters 464 Views 2 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • Black SquareB Black Square

    @fizzboy @Zacke I just wanted to let you guys know that I added some code to fix this tonight. From the looks of it, I was initially scared to do this because I found a CTD lurking in the MSFS GPS code during my development of Starship. Feel free to share with the Official Forums, since I know it came up there recently.

    EDIT: I would love to test that code, but I can't seem to reproduce it right now, not matter what I try. I could swear I know the message you're seeing, but I've tried exactly what you've described above, but I can't get it to trigger. Could I convince one of you guys to make the small code edit on your end to make sure it works, please?

    Look for the following file... [Your Community Folder]\bksq-aircraft-commander114\html_ui\Pages\VCockpit\Instruments\Generic\Radios\bksq-aircraft-commander114\DigitalLocalizers\DigitalLocalizers.js

    Search for the following line: SimVar.SetSimVarValue("L:var_MC60_From", "Bool", activeGpsSource...

    Immediately after, add the following lines of code:

    if(!SimVar.GetSimVarValue("GPS OBS ACTIVE", "bool")){
        SimVar.SetSimVarValue("K:VOR1_SET", "degrees", SimVar.GetSimVarValue("GPS WP DESIRED TRACK", "degrees") % 360);
    }
    

    Sorry to ask for help, but I want to make sure it's a good solution before the next update. Thank you!

    G Offline
    G Offline
    GrahamD
    wrote last edited by
    #5

    @Black-Square Apologies for jumping in, but I’ve just tried the fix on a very simple flight plan using the KLN-90B and all seems to work now. There’s a closing bracket missing on the posted conditional statement by the way.

    Black SquareB 1 Reply Last reply
    0
    • G GrahamD

      @Black-Square Apologies for jumping in, but I’ve just tried the fix on a very simple flight plan using the KLN-90B and all seems to work now. There’s a closing bracket missing on the posted conditional statement by the way.

      Black SquareB Offline
      Black SquareB Offline
      Black Square
      Black Square Developer
      wrote last edited by
      #6

      @GrahamD Why would you apologize for lending a hand?! That's exactly what I was looking to hear. Thank you so much for testing it out. Really not sure why I couldn't get that message to trigger on my end, but perhaps that's why it didn't strike me as annoying. Thanks again so much.

      You mean one too many opening parentheses in the VOR1_SET line? I guess I posted the code before I fixed that in my editor. Thanks.

      G 1 Reply Last reply
      0
      • Black SquareB Black Square

        @GrahamD Why would you apologize for lending a hand?! That's exactly what I was looking to hear. Thank you so much for testing it out. Really not sure why I couldn't get that message to trigger on my end, but perhaps that's why it didn't strike me as annoying. Thanks again so much.

        You mean one too many opening parentheses in the VOR1_SET line? I guess I posted the code before I fixed that in my editor. Thanks.

        G Offline
        G Offline
        GrahamD
        wrote last edited by
        #7

        @Black-Square a pleasure to help! I did only try it with the KLN 90B though - but I guess it applies generically to the other GPS units.

        1 Reply Last reply
        0
        • Black SquareB Black Square

          @fizzboy @Zacke I just wanted to let you guys know that I added some code to fix this tonight. From the looks of it, I was initially scared to do this because I found a CTD lurking in the MSFS GPS code during my development of Starship. Feel free to share with the Official Forums, since I know it came up there recently.

          EDIT: I would love to test that code, but I can't seem to reproduce it right now, not matter what I try. I could swear I know the message you're seeing, but I've tried exactly what you've described above, but I can't get it to trigger. Could I convince one of you guys to make the small code edit on your end to make sure it works, please?

          Look for the following file... [Your Community Folder]\bksq-aircraft-commander114\html_ui\Pages\VCockpit\Instruments\Generic\Radios\bksq-aircraft-commander114\DigitalLocalizers\DigitalLocalizers.js

          Search for the following line: SimVar.SetSimVarValue("L:var_MC60_From", "Bool", activeGpsSource...

          Immediately after, add the following lines of code:

          if(!SimVar.GetSimVarValue("GPS OBS ACTIVE", "bool")){
              SimVar.SetSimVarValue("K:VOR1_SET", "degrees", SimVar.GetSimVarValue("GPS WP DESIRED TRACK", "degrees") % 360);
          }
          

          Sorry to ask for help, but I want to make sure it's a good solution before the next update. Thank you!

          fizzboyF Offline
          fizzboyF Offline
          fizzboy
          wrote last edited by
          #8

          @Black-Square awesome. my next flight is on Tuesday night (Monday is Big Walk night with friends) so I'll have that patched in by then so that I can report how well it works with the 530.

          1 Reply Last reply
          0
          • S Offline
            S Offline
            SlabsFly
            wrote last edited by
            #9

            New member here. After posting about this issue on the MSFS forum I was pointed at this thread. Glad to see that there is a fix coming. I am not comfortable editing JavaScript files so I would probably wait for the next release of the aircraft, unless it is a long way out. Which leads to the question: any indication when we can expect the release with the fix for this issue?

            Thanks!

            PS: just LOVE this aircraft which I flew a few times IRL in the 80's.

            Black SquareB 1 Reply Last reply
            0
            • S SlabsFly

              New member here. After posting about this issue on the MSFS forum I was pointed at this thread. Glad to see that there is a fix coming. I am not comfortable editing JavaScript files so I would probably wait for the next release of the aircraft, unless it is a long way out. Which leads to the question: any indication when we can expect the release with the fix for this issue?

              Thanks!

              PS: just LOVE this aircraft which I flew a few times IRL in the 80's.

              Black SquareB Offline
              Black SquareB Offline
              Black Square
              Black Square Developer
              wrote last edited by
              #10

              @SlabsFly Welcome, new friend 🙂 I'm glad I could improve your flying experience with such a small fix. Editing the file isn't too difficult, if you want to give it a try! I'm happy to help.

              I'll be updating the rest of my aircraft soon, but I don't have much a changelog for the 114 yet. If you really didn't want to try editing the file, you could contact Just Flight Support, and I could have them send you the file. That might just take a little while (sorry, I can't send files through this forum due to European regulatory compliance, I believe.)

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SlabsFly
                wrote last edited by
                #11

                Thanks very much for this. While this issue is a minor irritation for me, it is not sufficintly annoying that I cannot wait for the next release that fixes it.

                1 Reply Last reply
                0
                • Black SquareB Black Square

                  @fizzboy @Zacke I just wanted to let you guys know that I added some code to fix this tonight. From the looks of it, I was initially scared to do this because I found a CTD lurking in the MSFS GPS code during my development of Starship. Feel free to share with the Official Forums, since I know it came up there recently.

                  EDIT: I would love to test that code, but I can't seem to reproduce it right now, not matter what I try. I could swear I know the message you're seeing, but I've tried exactly what you've described above, but I can't get it to trigger. Could I convince one of you guys to make the small code edit on your end to make sure it works, please?

                  Look for the following file... [Your Community Folder]\bksq-aircraft-commander114\html_ui\Pages\VCockpit\Instruments\Generic\Radios\bksq-aircraft-commander114\DigitalLocalizers\DigitalLocalizers.js

                  Search for the following line: SimVar.SetSimVarValue("L:var_MC60_From", "Bool", activeGpsSource...

                  Immediately after, add the following lines of code:

                  if(!SimVar.GetSimVarValue("GPS OBS ACTIVE", "bool")){
                      SimVar.SetSimVarValue("K:VOR1_SET", "degrees", SimVar.GetSimVarValue("GPS WP DESIRED TRACK", "degrees") % 360);
                  }
                  

                  Sorry to ask for help, but I want to make sure it's a good solution before the next update. Thank you!

                  fizzboyF Offline
                  fizzboyF Offline
                  fizzboy
                  wrote last edited by fizzboy
                  #12

                  @Black-Square So far so good on a 1h 45m flight with the GNS 530. No flashing MSG indicators the entire trip. I'll keep testing the change over the next couple of evenings.

                  Black SquareB 1 Reply Last reply
                  0
                  • fizzboyF fizzboy

                    @Black-Square So far so good on a 1h 45m flight with the GNS 530. No flashing MSG indicators the entire trip. I'll keep testing the change over the next couple of evenings.

                    Black SquareB Offline
                    Black SquareB Offline
                    Black Square
                    Black Square Developer
                    wrote last edited by
                    #13

                    @fizzboy Thanks for letting me know!

                    fizzboyF 1 Reply Last reply
                    0
                    • Black SquareB Black Square

                      @fizzboy Thanks for letting me know!

                      fizzboyF Offline
                      fizzboyF Offline
                      fizzboy
                      wrote last edited by fizzboy
                      #14

                      @Black-Square Ah... Well I did a second flight with the change above but this time with the 530/430 combo (I normally only fly with the 530 and the MX 170B) and I got the MSG notification again but this time just on the 430.

                      I'm starting to get the gut feeling that there may not be a simple workaround that works in a general sense. I'll keep testing regardless.

                      3a7445f7-4195-4b90-a52b-9ced5eb9592d-20261008213725_1.jpg

                      Black SquareB 1 Reply Last reply
                      0
                      • fizzboyF fizzboy

                        @Black-Square Ah... Well I did a second flight with the change above but this time with the 530/430 combo (I normally only fly with the 530 and the MX 170B) and I got the MSG notification again but this time just on the 430.

                        I'm starting to get the gut feeling that there may not be a simple workaround that works in a general sense. I'll keep testing regardless.

                        3a7445f7-4195-4b90-a52b-9ced5eb9592d-20261008213725_1.jpg

                        Black SquareB Offline
                        Black SquareB Offline
                        Black Square
                        Black Square Developer
                        wrote last edited by
                        #15

                        @fizzboy Did you try setting the second localizer to the desired track? I could look into Working Title's code, but perhaps they linked unit 1 to OBS 1, and unit 2 to OBS 2.

                        1 Reply Last reply
                        0
                        Reply
                        • Reply as topic
                        Log in to reply
                        • Oldest to Newest
                        • Newest to Oldest
                        • Most Votes


                        • Login

                        • Don't have an account? Register

                        • Login or register to search.
                        • First post
                          Last post
                        0
                        • Categories
                        • Recent
                        • Tags
                        • Popular
                        • Users