marki 0 Posted April 22, 2014 Share Posted April 22, 2014 Hi, I have just bought the Airbus X A320/321 a few days ago and am in the process using the GoFLight Interface Tool to set up configuration files so I can use my GoFlight Modules with the Airbus. Using the GoFlight Interface Tool you create what it calls “Bespoke Events” and in these bespoke events you can set one or more lvars and/or trigger events. You can then assign these bespoke events to the various buttons, switches etc on you GoFLight modules. I did some research on the Airbus before I bought it and came across the SDK file AXE_SDK_109.xlsx which is a comprehensive list of the lvars the Airbus uses. Armed with this document I was able to rattle through my MCPPRO with very little problems. The way Airbus FCU is set out means I have a surplus of buttons on my MCPPRO that I would like to put to good use. One bespoke event I want to create was to set up a button on GoFlight module to switch “Air Pressure” setting between kohlsman setting and STD pressure setting. I created a GoFLight Interface Tool bespoke event and in this event I set lvar AB_MPL_Baro_STD = 1 and also send event KOHLSMAN_SET with data value (016208). Now this works perfectly and when I left mouse click on the Air Pressure rotary it switches back to the kohlsman setting that was set before STD pressure setting was engaged e.g. (1018 hPa) My issue is with the bespoke event I have created to switch back to kohlsman setting. I have identified that in this bespoke event I need to Send event KOHLSMAN_SET with data (xxxxxx) where xxxxx is the value that equates to what kohlsman setting was before Std was set. Set AB_MPL_Baro_STD = 0 The GoFlight Interface Tool also has a detective module that allows you to view lvars and events that are being set. Below is an extract of what this is producing Std Air Pressure set 0002665389 Event: 066040 Event Data: 016208 Event Name: KOHLSMAN_SET 0002665411 Lvar : AB_MPL_Baro_STD Lvar Data: 1 0002665441 Lvar : Kohlsman_mem Lvar Data: 1015.4375 0002665588 Event: 066040 Event Data: 016212 Event Name: KOHLSMAN_SET 0002665647 Lvar : KOHLSMAN SETTING HG_D Lvar Data: 0.91 0002665779 Lvar : LINDA_Baro_Hpa Lvar Data: 1013 0002665780 Lvar : LINDA_Baro_inHg Lvar Data: 2992 0002665918 Lvar : KOHLSMAN SETTING HG_D Lvar Data: 0.920000000000002 Kohlsman Air Pressure set 0002736279 Event: 066040 Event Data: 016237 Event Name: KOHLSMAN_SET 0002736352 Lvar : AB_MPL_Baro_STD Lvar Data: 0 0002736353 Lvar : KOHLSMAN SETTING HG_D Lvar Data: 0.969999999999999 0002736484 Lvar : LINDA_Baro_Hpa Lvar Data: 1015 0002736485 Lvar : LINDA_Baro_inHg Lvar Data: 2997 As you can see in the log above when Air Pressure was set back to Kohlsman setting the event KOHLSMAN_SET was sent with a data value of 016237 which equated to 1015 hPa My problem is I cannot figure out where I can get the correct data value to send to the KOHLSMAN_SET event for the bespoke event to set back to Kohlsman setting to fully work. I cannot see it being stored anywhere or how it is calculated. In my bespoke event to set back to kohlsman setting if I hard coded the value of 016237 for event KOHLSMAN_SET it did set hPa back to 1015. Would appreciate any help on this Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.