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. Axis control for Cowl Flaps

Axis control for Cowl Flaps

Scheduled Pinned Locked Moved Commander 114
17 Posts 6 Posters 488 Views 1 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.
  • S Offline
    S Offline
    SkipperMacz
    wrote last edited by
    #5

    I might have to try Mobiflight. Just looked at the website and hadn't realised it was a free app. I've downloaded and will have a look and see if I can use your program line above ... once I work out how it all runs.

    Quick question if I may: can Mobiflight take over ALL control inputs so as to render FS24's clumsy control interface obsolete?

    1 Reply Last reply
    0
    • M Offline
      M Offline
      MatzeH84
      wrote last edited by
      #6

      Yep.
      I also come from FSUIPC and still have them running in parallel with older addons, simply, because they work.
      But Mobiflight is really powerful and much easier to use. For example you can do things like.. you can only use the magneto switch if the key has been inserted, which only works if the gust lock has been removed, as IRL. So you can actually have this safeguard setup like it should be.

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

        FSUIPC should work almost out of the box with it, under Axis controls you should be able to specify the Cowl Flaps axis in one of the dropdowns.

        I have not yet had time to set my Commander up or take her for a spin, but for all my other Black Square aircraft with cowl flaps that has worked just fine for me.

        1 Reply Last reply
        0
        • S Offline
          S Offline
          SkipperMacz
          wrote last edited by
          #8

          @jmarkows That's what I expected, but when I tried there was nothing related to an axis for the cowl flaps. I'll have to check again!

          Thanks, though, for the confirmation that what I'm hoping to do should be possible 🙂

          J 1 Reply Last reply
          0
          • S SkipperMacz

            @jmarkows That's what I expected, but when I tried there was nothing related to an axis for the cowl flaps. I'll have to check again!

            Thanks, though, for the confirmation that what I'm hoping to do should be possible 🙂

            J Offline
            J Offline
            jmarkows
            wrote last edited by
            #9

            @SkipperMacz Actually I owe you something of an apology. I haven't started the sim in a while to look at the FSUPIC UI with my profile loaded, but I did crack open my saved profile ini files this evening to confirm what I expected.

            I have done two methods for cowl flaps across a few different aircraft. For the BS Bonanza, I made an event in the myevents.txt file as follows:
            BT36_Cowl_Flap#@ 16384 + 32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)

            This gets bound to the axis of my choice and converts it to the 0 to 100% that the Avar in use there is expecting in my Bonanza profile:
            3=BR,256,F,PBT36_Cowl_Flap,0,0,0 -{ TO SIM: Preset Control }-

            So there was a little bit of work to get it done, mostly to convert the axis range from 0-100 I think, but should be "fairly" simple to do.

            C 1 Reply Last reply
            0
            • F Online
              F Online
              fredgarven
              wrote last edited by
              #10

              @SkipperMacz Regarding your question about whether MobiFlight can take over all of the control inputs, I have been experimenting with doing essentially that with the Commander 114.

              I have uploaded my current MobiFlight project to Google Drive:

              https://drive.google.com/drive/folders/1bt0euYHjSdla7srvA_8fSl4J8yQjiLlk?usp=sharing

              For my Honeycomb Bravo, with the exception of the flaps, I have removed all of the MSFS 2024 control assignments and MobiFlight handles everything. For the Alpha yoke, I leave only the pitch and roll axes assigned in MSFS 2024. All of the switches, buttons, ignition switch, trim controls, and other functions are handled through MobiFlight.

              I have also repurposed quite a few of the Alpha and Bravo controls specifically for the Commander rather than using them according to the labels printed on the hardware. The folder includes a Word document showing exactly what each physical control is mapped to.

              The project also includes things such as the Bravo cowl flap axis, throttle, prop, mixture, fuel selector, parking brake, electrical controls, lighting, environmental controls, ignition, trim, landing gear, and the System 60 autopilot controls.

              It is still something I am experimenting with and may change, but this is the setup I am currently using if you want an example of how far MobiFlight can be taken.

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

                @jmarkows no apology necessary. I'll have to study your program lines carefully, although I'm tempted to go the Mobiflight direction...

                @fredgarven thanks for this! I've downloaded your project and 'hey presto' I have full control of the cowl flaps ... and an awful lot of other things! Its good to see how a MF 'project' is formed and now I need to decide if I want to attempt to move over completely from FS24's clunky system. I might need to read the manual first though as those lines of code are seriously technical looking for an old geezer like myself lol.

                1 Reply Last reply
                0
                • F Online
                  F Online
                  fredgarven
                  wrote last edited by
                  #12

                  @SkipperMacz In case you are interested, I have completed the project based on v1.1a. I have also updated the accompanying document. Check out the link:

                  https://drive.google.com/drive/folders/1bt0euYHjSdla7srvA_8fSl4J8yQjiLlk?usp=sharing

                  I added in all the axes and reconfigured a few things. There is now no need to have anything configured in FS2024 itself.

                  S 1 Reply Last reply
                  0
                  • F fredgarven

                    @SkipperMacz In case you are interested, I have completed the project based on v1.1a. I have also updated the accompanying document. Check out the link:

                    https://drive.google.com/drive/folders/1bt0euYHjSdla7srvA_8fSl4J8yQjiLlk?usp=sharing

                    I added in all the axes and reconfigured a few things. There is now no need to have anything configured in FS2024 itself.

                    S Offline
                    S Offline
                    SkipperMacz
                    wrote last edited by
                    #13

                    @fredgarven said in Axis control for Cowl Flaps:

                    In case you are interested...

                    I'm VERY Interested! Many thanks @fredgarven for this further insight into MobiFlight use for the Commander 114. Your cowl flaps control has already enhanced the experience and I look forward to exploring what else you have magically included in this project finale 🙂

                    1 Reply Last reply
                    0
                    • J jmarkows

                      @SkipperMacz Actually I owe you something of an apology. I haven't started the sim in a while to look at the FSUPIC UI with my profile loaded, but I did crack open my saved profile ini files this evening to confirm what I expected.

                      I have done two methods for cowl flaps across a few different aircraft. For the BS Bonanza, I made an event in the myevents.txt file as follows:
                      BT36_Cowl_Flap#@ 16384 + 32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)

                      This gets bound to the axis of my choice and converts it to the 0 to 100% that the Avar in use there is expecting in my Bonanza profile:
                      3=BR,256,F,PBT36_Cowl_Flap,0,0,0 -{ TO SIM: Preset Control }-

                      So there was a little bit of work to get it done, mostly to convert the axis range from 0-100 I think, but should be "fairly" simple to do.

                      C Offline
                      C Offline
                      cconesa
                      wrote last edited by
                      #14

                      @jmarkows Would it be too much trouble if you could give us the actual FSUIPC (edits) commands that need to be added so that the commander cowl flap works with the Honeycomb Bravo control and the second mixture lever, please?.

                      I have seen the commands in your post but I am unable to replicted in the INI and PRESET files so that it works.

                      Thank you. Christian C./

                      F 1 Reply Last reply
                      0
                      • C cconesa

                        @jmarkows Would it be too much trouble if you could give us the actual FSUIPC (edits) commands that need to be added so that the commander cowl flap works with the Honeycomb Bravo control and the second mixture lever, please?.

                        I have seen the commands in your post but I am unable to replicted in the INI and PRESET files so that it works.

                        Thank you. Christian C./

                        F Online
                        F Online
                        fredgarven
                        wrote last edited by
                        #15

                        @cconesa
                        COMMANDER114_COWL_FLAPS#@ 16384 + 32767 / 0 max 1 min (>B:ENGINE_CowlFlaps_Set)

                        In case I got it backwards:

                        COMMANDER114_COWL_FLAPS_REVERSED#1 @ 16384 + 32767 / 0 max 1 min - (>B:ENGINE_CowlFlaps_Set)

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

                          Hah, that probably would have been the way to do it if I had been a thinking man that night. On finding that it was apparently reversed compared to the Bonanza, I spent a good bit of time figuring out how to subtract negative numbers and ended up with this:

                          AC11_Cowl_Flap#@ 16384 - -32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)

                          @fredgarven I understand that the # signifies the end of the preset name and the @ is the incoming axis or passed value, but what's the significance of putting the #1 @? What does that do, invert the input?

                          F 1 Reply Last reply
                          0
                          • J jmarkows

                            Hah, that probably would have been the way to do it if I had been a thinking man that night. On finding that it was apparently reversed compared to the Bonanza, I spent a good bit of time figuring out how to subtract negative numbers and ended up with this:

                            AC11_Cowl_Flap#@ 16384 - -32767 / 100 * 0 max 100 min (>A:RECIP ENG COWL FLAP POSITION:1, percent)

                            @fredgarven I understand that the # signifies the end of the preset name and the @ is the incoming axis or passed value, but what's the significance of putting the #1 @? What does that do, invert the input?

                            F Online
                            F Online
                            fredgarven
                            wrote last edited by
                            #17

                            @jmarkows The #1 isn't anything special. The # just separates the preset name from the calculator code.

                            So this:

                            COMMANDER114_COWL_FLAPS_REVERSED#1 @ 16384 + 32767 / 0 max 1 min - (>B:ENGINE_CowlFlaps_Set)

                            is just using 1 - value at the end to reverse the axis.

                            I used 0 to 1 because B:ENGINE_CowlFlaps_Set expects a normalized value. Your 0 to 100 version is doing the same basic thing, just writing directly to the A:Var.

                            I probably should have spaced it out better the first time because #1 does look like some kind of special FSUIPC syntax.

                            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