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. Bonanza Professional
  6. Variable for the fuel selector / alternate air

Variable for the fuel selector / alternate air

Scheduled Pinned Locked Moved Bonanza Professional
35 Posts 5 Posters 232 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.
  • J Offline
    J Offline
    jmarkows
    wrote last edited by
    #24

    Aha, I am an idiot. Or perhaps just ignorant. It turns out, the leading > is very important because that apparently means you are setting the variant. So yes, I was overriding the IgnitionPosition LVar by attempting to call it, which is why I got stuck at a value of 1.

    For some reason, increasing from 3 to 4 does nothing on the magneto, Nick will have to answer why. By whacking the key a few times I did get her to sputter momentarily like she wanted to start, but nothing prolonged. I'm going to see if I can work out an if statement for the preset to skip 4 altogether.

    1 Reply Last reply
    0
    • J Offline
      J Offline
      jmarkows
      wrote last edited by jmarkows
      #25

      Yep, stumped until Nick can weigh in. I can increment and decrement it fine now, but going from 3 to 4 does nothing, so I can't advance to 5. Putting in an if statement to skip 4 and go directly to 5 will put the magneto in start, but the engine does not crank.

      Trying to put the magneto in 4 and then 5 does the same.

      Closer to getting presets that work for increments and decrements through FSUIPC, though.

      1 Reply Last reply
      0
      • R Offline
        R Offline
        Ron Attwood
        wrote last edited by Ron Attwood
        #26

        You gotta laugh. I've spent loads of time experimenting with parameters 1-5. Settled on 4
        This is my 'solution'
        9=PE,3,CIBKSQ_MAGNETOCONTROLLER_L,0.000000 -{Input Event}-
        10=PE,5,CIBKSQ_MAGNETOCONTROLLER_R,0.000000 -{Input Event}-
        11=RE,2,CIBKSQ_MAGNETOCONTROLLER_L,4.000000 -{Input Event}-
        12=RE,4,CIBKSQ_MAGNETOCONTROLLER_R,4.000000 -{Input Event}-

        That gets my motors running in what feels like a realistic manner. These are on rocker switches. Top part to increse lower part to decrease. The 4s indicate hold assignment while pressed. = Starter

        1 Reply Last reply
        0
        • J Offline
          J Offline
          jmarkows
          wrote last edited by
          #27

          Does that actually work?

          1 Reply Last reply
          0
          • R Offline
            R Offline
            Ron Attwood
            wrote last edited by Ron Attwood
            #28

            It does but as I said earlier, the switch goes from Off straight through to full on. Holding the button in fires the starter
            pressing the mags off part and they go straight to OFF so testing mags isn't an option (Not that I've EVER done that!

            1 Reply Last reply
            0
            • J Offline
              J Offline
              jmarkows
              wrote last edited by
              #29

              I need to learn more about input events clearly. I did find that magneto controller variable but the last time I tried it I think I still had some bugs.

              1 Reply Last reply
              0
              • J Offline
                J Offline
                jmarkows
                wrote last edited by
                #30

                @Black-Square Thoughts on why L:BKSQ_IgnitionPosition_1 isn't working properly when set to 4 or 5? I can't start the Bonanza incrementing up from 0.

                I'm not having any luck incrementing the MagnetoController, either, so I can't step through that way.

                1 Reply Last reply
                0
                • Black SquareB Online
                  Black SquareB Online
                  Black Square
                  Black Square Developer
                  wrote last edited by
                  #31

                  I haven't exactly been sure why some users have struggled with this in some of my aircraft, but I've had a very simple fix in mind for a while. You should be able to use the 5 position of this variable as intended for the start position without the spring return now. Update next week, is the plan!

                  J 1 Reply Last reply
                  0
                  • Black SquareB Black Square

                    I haven't exactly been sure why some users have struggled with this in some of my aircraft, but I've had a very simple fix in mind for a while. You should be able to use the 5 position of this variable as intended for the start position without the spring return now. Update next week, is the plan!

                    J Offline
                    J Offline
                    jmarkows
                    wrote last edited by
                    #32

                    @Black-Square said in Variable for the fuel selector / alternate air:

                    I haven't exactly been sure why some users have struggled with this in some of my aircraft, but I've had a very simple fix in mind for a while. You should be able to use the 5 position of this variable as intended for the start position without the spring return now. Update next week, is the plan!

                    Unfortunately, setting the 5 position will move the switch into the start position, but it will not crank. I just tried it once again to confirm.

                    Black SquareB 1 Reply Last reply
                    0
                    • J jmarkows

                      @Black-Square said in Variable for the fuel selector / alternate air:

                      I haven't exactly been sure why some users have struggled with this in some of my aircraft, but I've had a very simple fix in mind for a while. You should be able to use the 5 position of this variable as intended for the start position without the spring return now. Update next week, is the plan!

                      Unfortunately, setting the 5 position will move the switch into the start position, but it will not crank. I just tried it once again to confirm.

                      Black SquareB Online
                      Black SquareB Online
                      Black Square
                      Black Square Developer
                      wrote last edited by
                      #33

                      @jmarkows I know. I just fixed it 🙂

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        jmarkows
                        wrote last edited by jmarkows
                        #34

                        Ah, I misunderstood and though going direct to 5 now would work, and the fix for going incrementally from 4 was coming next week.

                        Understood!

                        If I'm reading your code correctly, and I'm almost certainly not, I think there's a requirement to hold it in position 4 for at least half a second? I think that would be why simply going 1 -> 2 -> 3 -> 4 -> 5 using an individual button press isn't working. That step from 3 to 4 sometimes induces a cough from the engine, then stops.

                        Thank you kindly! Sorry for being a nuisance.

                        1 Reply Last reply
                        0
                        • Black SquareB Online
                          Black SquareB Online
                          Black Square
                          Black Square Developer
                          wrote last edited by
                          #35

                          Not a nuisance at all! All these suggestions make my aircraft better. I think the timing you're looking at only pertains to mouse interactions. I would just program my hardware input to increment 0 -> 1 -> 2 -> 3 -> 5, and that should work as expected.

                          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