Most of the commonly reported issues and questions are answered in the Frequently Asked Questions (FAQ) option under the Support menu of this website.
*** PLEASE NOTE ***
Your forum account is not the same as the account used in the shop. They are completely separate accounts.
1st December: A new version of the GoFlight Interface Tool for MSFS is now available.
12th November: A new version of the GoFlight Interface Tool for X-Plane is now available.
6th June: A new version of Virtual Flight Sim Hardware is now available (huge update)
21st November: A new version of the GoFlight Interface Tool for FSX/FSXSE/P3D is now available.

GIT Xplane - FF757-200 button actions

Hi All,

I am new to programming myself and X-plane, used work with FSX etc, now changed over. I watched the tutorial and got the switches working nicely on GF T-8 for lights etc, however some of the lights are push buttons and I have a few questions:

  • Can I use a toggle switch T8 to manage a push button? Also tried it on a push button but have no event to select and nothing does nothing.

  • I have programmed an event not sure if I did it right but looks ok, note that the switches are working in reverse as per previous Boeing toggle set ups etc. to keep consistency, the problem I have is I only have 4 actions to use engine reverser, nothing, repeat and rotate, in FSX I had many like on click, etc. (see attached pic). Any advice will be appreciated.
image

Thank You Andrè

Comments

  • Hi Andre,

    The logic appears off. First thing to always do is test the Bespoke Event in Detective by clicking the Test Bespoke Event button. If it doesn't work as expected it will not work once assigned to your hardware.

    Following the tasks through, your code sets a dataref to 0 and then jumps to "ON". The ON code is executed and then EXIT is called. The OFF code is never executed.

    I suspect you wish to execute ON or OFF based on the value of a dataref so you would need to use the IF task.

    Alternatively if using a T8, create two separate Bespoke Events, one that's sets the dataref (1) and one that unsets the dataref (0). You can then assign one of the Bespoke Events to the ON switch event of the T8 and the other to the OFF switch event.

    Best wishes

    Steve

  • Thank You Steve,

    I now see I may have missed the IFF Statement at the start, as if  programming for a normal push button sequence. I will split and use the on off as indicated for the toggle to execute.

    Any chance you can post an example code for a rotary switch like the "Auto Brakes" just need to try understand the sequencing / Flow of a rotary switch program then I can get on to identifying events and programming all my rotaries as well.

    Question when watching your video  vs my screen above where I notice some buttons are missing in the Pink area to hide and in hide, is this correct.

    Much Appreciated

    Andrè
  • Assuming the Dataref swings from 0 to some greater value, say 10; all you would need is two Bespoke Events. One would increment the value and the other would decrement the value. You would then assign these to the CLOCKWISE and ANTI-CLOCKWISE rotary events on the hardware using a ROTARY ACTION of ROTATE.

    The buttons are present, they simply became icons instead of text buttons. Hover you mouse over the button for what each one does.

    Best wishes

    Steve

  • Thanks Steve,

    I now have the FF 757 MESM working, although it has an additional Auto button in the SIM, but have it working perfectly and all lights, toggle and push button. Thanks for the help looks Iike I can get my whole set up working now just a lot of time needed.

    Regards

    Andrè
Sign In or Register to comment.