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: 60
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: 60
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: 60
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: 60
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
Avatar
Banzai
From: France
Posts: 60
Hi

here are some more commands and dataref to introduce in XPUIPC this time for the th MIP panel ZIBO 738
for the rotary multiposition switch i use the method of "Knemsiz" in the precedent post (a bit tedious but it works) ,working with xjoymap and Python interface
copy and paste!
have fun:)

#AUTOBRAKE PANEL DISARM Led
Dataref AN1 laminar/B738/annunciator/auto_brake_disarm int
Offset 0x6588 UINT8 1 rw $AN1

#AUTOBRAKE PANEL ANTISKID Led
Dataref AN2 laminar/B738/annunciator/anti_skid_inop int
Offset 0x6589 UINT8 1 rw $AN2

#AUTOBRAKE PANEL FLAPS TRANSIT Led
Dataref AN3 laminar/B738/annunciator/slats_transit int
Offset 0x6590 UINT8 1 rw $AN3

#AUTOBRAKE PANEL FLAPS EXTEND Led
Dataref AN4 laminar/B738/annunciator/slats_extend int
Offset 0x6591 UINT8 1 rw $AN4

#AUTOBRAKE PANEL FUEL FLOW
Command 0x6592 UINT8 1 0 laminar/B738/toggle_switch/fuel_flow_dn _
0 1 laminar/B738/toggle_switch/fuel_flow_dn

Command 0x6593 UINT8 1 0 laminar/B738/toggle_switch/fuel_flow_up _
0 1 laminar/B738/toggle_switch/fuel_flow_up

#MFD SWITCH

command 0x6594 UINT8 1 0 laminar/B738/LDU_control/push_button/MFD_ENG _
0 0 laminar/B738/LDU_control/push_button/MFD_ENG

command 0x6595 UINT8 1 0 laminar/B738/LDU_control/push_button/MFD_SYS _
0 0 laminar/B738/LDU_control/push_button/MFD_SYS

#N1 SET MODE

Command 0x6596 UINT8 1 1 xjoymap/main/N1_set_2 _
0 0 xjoymap/main/N1_set_2

Command 0x6597 UINT8 1 1 xjoymap/main/N1_set_1 _
0 0 xjoymap/main/N1_set_1

Command 0x6598 UINT8 1 1 xjoymap/main/N1_set_auto _
0 0 xjoymap/main/N1_set_auto

Command 0x6599 UINT8 1 1 xjoymap/main/N1_set_both _
0 0 xjoymap/main/N1_set_both

#SPEED REF ENCODER

Command 0x6600 UINT8 1 1 laminar/B738/toggle_switch/spd_ref_adjust_left _
1 0 laminar/B738/toggle_switch/spd_ref_adjust_left
Command 0x6601 UINT8 1 1 laminar/B738/toggle_switch/spd_ref_adjust_right _
1 0 laminar/B738/toggle_switch/spd_ref_adjust_right

#SPEED REF MODE

Command 0x6604 UINT8 1 1 xjoymap/main/spd_ref_auto _
0 0 xjoymap/main/spd_ref_auto

Command 0x6605 UINT8 1 1 xjoymap/main/spd_ref_v1 _
0 0 xjoymap/main/spd_ref_v1

Command 0x6606 UINT8 1 1 xjoymap/main/sp_ref_vr _
0 0 xjoymap/main/spd_ref_vr

Command 0x6607 UINT8 1 1 xjoymap/main/spd_ref_wt _
0 0 xjoymap/main/spd_ref_wt

Command 0x6608 UINT8 1 1 xjoymap/main/spd_ref_vref _
0 0 xjoymap/main/spd_ref_vref

Command 0x6609 UINT8 1 1 xjoymap/main/spd_ref_^ _
0 0 xjoymap/main/spd_ref_^

Command 0x6610 UINT8 1 1 xjoymap/main/spd_ref_set _
0 0 xjoymap/main/spd_ref_set

#ADFS

#AP DISCON
Dataref APLED laminar/B738/annunciator/ap_disconnect1 int
Offset 0x6617 UINT8 1 r $APLED

#AT DISCON
Dataref ATLED laminar/B738/annunciator/at_disconnect1 int
Offset 0x6618 UINT8 1 r $ATLED

#FMS MESS1/2
Dataref FMSLED laminar/B738/annunciator/at_fms_disconnect1 int
Offset 0x6619 UINT8 1 r $FMSLED

#AP LED WARNING
Dataref APLEDW laminar/B738/annunciator/ap_warn1 int
Offset 0x6620 UINT8 1 r $APLEDW

#AT/FMS LED WARNING
Dataref ATFMSLEDW laminar/B738/annunciator/at_fms_warn1 int
Offset 0x6626 UINT8 1 r $ATFMSLEDW

#TOGGLE TEST
Command 0x6621 UINT8 1 0 laminar/B738/toggle_switch/ap_disconnect_test1_up _
0 1 laminar/B738/toggle_switch/ap_disconnect_test1_up

Command 0x6622 UINT8 1 0 laminar/B738/toggle_switch/ap_disconnect_test1_dn _
0 1 laminar/B738/toggle_switch/ap_disconnect_test1_dn

#A/P SWITCH
Command 0x6623 UINT8 1 0 laminar/B738/push_button/ap_light_pilot _
0 1 laminar/B738/push_button/ap_light_pilot

#A/T SWITCH
Command 0x6624 UINT8 1 0 laminar/B738/push_button/at_light_pilot _
0 1 laminar/B738/push_button/at_light_pilot

#FMS SWITCH
Command 0x6625 UINT8 1 0 laminar/B738/push_button/fms_light_pilot _
0 1 laminar/B738/push_button/fms_light_pilot

#TEST1/2
Dataref TEST12 laminar/B738/toggle_switch/ap_discon_test1 int
Offset 0x6627 UINT8 1 rw $TEST12

#TEST MCP DISPLAY
Dataref DSPL laminar/B738/dspl_light_test int
Offset 0x6636 UINT8 1 r $DSPL

#MAIN PANEL DU

Command 0x6628 UINT8 1 1 xjoymap/main/mp_outbd_pfd _
0 0 xjoymap/main/mp_outbd_pfd

Command 0x6629 UINT8 1 1 xjoymap/main/mp_norm _
0 0 xjoymap/main/mp_norm

Command 0x6630 UINT8 1 1 xjoymap/main/mp_eng_pri _
0 0 xjoymap/main/mp_eng_pri

Command 0x6631 UINT8 1 1 xjoymap/main/mp_pfd _
0 0 xjoymap/main/mp_pfd

Command 0x6632 UINT8 1 1 xjoymap/main/mp_mfd _
0 0 xjoymap/main/mp_mfd

#MAIN PANEL LOWER DU

Command 0x6633 UINT8 1 1 xjoymap/main/mp_lodu_eng _
0 0 xjoymap/main/mp_lodu_eng

Command 0x6634 UINT8 1 1 xjoymap/main/mp_lodu_norm _
0 0 xjoymap/main/mp_lodu_norm

Command 0x6635 UINT8 1 1 xjoymap/main/mp_lodu_nd _
0 0 xjoymap/main/mp_lodu_nd

#LEVER GEAR Panel

#NOSE GEAR SAFE
Dataref NGS laminar/B738/annunciator/nose_gear_safe int
Offset 0x6637 UINT8 1 r $NGS

#NOSE GEAR TRANSIT
Dataref NGT laminar/B738/annunciator/left_gear_transit int
Offset 0x6638 UINT8 1 r $NGT

#LEFT GEAR SAFE
Dataref LGS laminar/B738/annunciator/left_gear_safe int
Offset 0x6639 UINT8 1 r $LGS

#LEFT GEAR TRANSIT
Dataref LGT laminar/B738/annunciator/left_gear_transit int
Offset 0x6640 UINT8 1 r $LGT

#RIGHT GEAR SAFE
Dataref RGS laminar/B738/annunciator/right_gear_safe int
Offset 0x6641 UINT8 1 r $RGS

#RIGHT GEAR TRANSIT
Dataref RGT laminar/B738/annunciator/right_gear_transit int
Offset 0x6642 UINT8 1 r $RGT

#GEAR UP
Command 0x6643 UINT8 1 0 laminar/B738/push_button/gear_up _
0 1 laminar/B738/push_button/gear_up

#GEAR OFF
Command 0x6644 UINT8 1 0 laminar/B738/push_button/gear_off _
0 1 laminar/B738/push_button/gear_off

#GEAR DOWN
Command 0x6645 UINT8 1 0 laminar/B738/push_button/gear_down _
0 1 laminar/B738/push_button/gear_down
[Last edited by Banzai, 2020-10-14 19:21]
2020-10-14 19:12
Avatar
whitehedr
Posts: 6
I am trying to install the XJoyMap plugin and haveing ZERO success. The Installer asks for a location to install the plugin so I browse down to the plugin folder under Xplane and the select the path box is greyed out. I have only a "Make New Folder" or "cancel" selections available.


I tried to copy the contents of the XJoyMap download into a folder under plugins called XJoyMap. The copy worked but Xplane does not recognize XJoymap at startup.

Not sure what I am doing wrong, Help greatly appreciated.

ROG
2020-10-27 03:47
Go to page 1Go to page 112Go to page 3Go to page 2