MobiFlight Community Support

Welcome to the forum for MobiFlight! Feel free to reach out to the community in case you have questions, issues or just want to share great ideas or details about your latest home cockpit project.

You like MobiFlight? Donate via PayPal and support the MobiFlight development. Thanks! 

Go to page 1Go to page 112Go to page 3Go to page 2
Avatar
knemsiz
Posts: 14
Also you can add me on skype: oemrahcayci
2020-04-10 17:56
Avatar
Banzai
From: France
Posts: 47
hey

congratulation that works!:rolleyes:
but sometime MF executes the same command twice "on press" "on release"
with or without debug mode it's the same.
i use that "on press" if($=1,0,1)
I use the precedent offset for the released command.
2020-04-13 21:43
Avatar
knemsiz
Posts: 14
iconBanzai:

hey

congratulation that works!:rolleyes:
but sometime MF executes the same command twice "on press" "on release"
with or without debug mode it's the same.
i use that "on press" if($=1,0,1)
I use the precedent offset for the released command.



Congratulations mate.

I know, there is some glitches and issues. Did you assign a switch for sync? If you do that, it also solves some issues. I suggest momentary switch for that, because I use it like that. I did not try on-off switch, so i cannot comment about that. You should press it in the very beginning, before turning battery on.

Enjoy!
2020-04-14 23:06
Avatar
Banzai
From: France
Posts: 47
Hey

yes i use one mom switch for that.

I used the modified script to use it on the map mode rotary button and it works:thumbup:
I would like to try a script for the momentary buttons for the EFIS "wx / data / wpt / ...."
would you have an example to give me?

thanks
2020-04-15 13:11
Avatar
knemsiz
Posts: 14
iconBanzai:

Hey

yes i use one mom switch for that.

I used the modified script to use it on the map mode rotary button and it works:thumbup:
I would like to try a script for the momentary buttons for the EFIS "wx / data / wpt / ...."
would you have an example to give me?

thanks



Hey Banzai,

They already have commands for that, so that will be easy.

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/wxr_press _
0 1 laminar/B738/EFIS_control/capt/push_button/wxr_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/sta_press _
0 1 laminar/B738/EFIS_control/capt/push_button/sta_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/wpt_press _
0 1 laminar/B738/EFIS_control/capt/push_button/wpt_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/arpt_press _
0 1 laminar/B738/EFIS_control/capt/push_button/arpt_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/data_press _
0 1 laminar/B738/EFIS_control/capt/push_button/data_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/pos_press _
0 1 laminar/B738/EFIS_control/capt/push_button/pos_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/terr_press _
0 1 laminar/B738/EFIS_control/capt/push_button/terr_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/rst_press _
0 1 laminar/B738/EFIS_control/capt/push_button/rst_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/ctr_press _
0 1 laminar/B738/EFIS_control/capt/push_button/ctr_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/tfc_press _
0 1 laminar/B738/EFIS_control/capt/push_button/tfc_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/std_press _
0 1 laminar/B738/EFIS_control/capt/push_button/std_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/mtrs_press _
0 1 laminar/B738/EFIS_control/capt/push_button/mtrs_press

Command 0xAAAA UINT8 1 0 laminar/B738/EFIS_control/capt/push_button/fpv_press _
0 1 laminar/B738/EFIS_control/capt/push_button/fpv_press

Be careful, I haven't tried these. But I assume that, you need to leave "On Release" tab empty and you should use if($=1, 0, 1). If it does not work, let me know. It is try-and-find thing.

Enjoy.
2020-04-16 11:02
Avatar
Banzai
From: France
Posts: 47
Hey


I already try this, it works but only moves the buttons, but does not activate anything on the ND screen for "wxr, sta, wpt, arpt, data, pos, terr" the others works
there is a dataref to associate with the command but I don't know how to do it:confused:
2020-04-16 13:04
Avatar
knemsiz
Posts: 14
iconBanzai:

Hey


I already try this, it works but only moves the buttons, but does not activate anything on the ND screen for "wxr, sta, wpt, arpt, data, pos, terr" the others works
there is a dataref to associate with the command but I don't know how to do it:confused:



Hey,

I just tried and it works. I am sure you have done these, but in case you miss something, I will make a checklist:

-Copy and paste the commands I wrote before to xpuipcoffsets.cfg.
-Change AAAA offsets with available ones depending on your config and save it.
-In MF, assign a button to offset. "On Press" value is if($=1, 0, 1). "On Release", it should be "None".
-In X-Plane, always reload the datarefs before doing anything.
-Enjoy the buttons.

And be careful. I checked these buttons under following conditions:

-Aircraft is on APU. (I did not check if it works on battery.)
-IRS Mode Selectors are in NAV mode.
-FMC initial position and coordinates are entered.
2020-04-17 13:35
Avatar
Banzai
From: France
Posts: 47
Hey Knemsiz

it's good it actually works i had to make a mistake
now all the EFIS works.
a big thank you for your help:thumbup:
see you soon!
2020-04-17 19:14
Go to page 1Go to page 112Go to page 3Go to page 2