August 31, 201114 yr Hi, With the assitance of Roberto (at the goflight forum), I have updated my existing EFIS and MCP PRO LUA script to support the MCP. I'm looking for a couple of people to test it before its uploaded to Avsim. If anyone is interested can you PM me please. ThanksSteve Munn Stephen Munn
December 26, 201114 yr Hi Steve,I have loaded your GF EFIS and MCP Pro LUA to my setup and it works quite well!Great Job!Now I'm looking for a way to control my Leo Bodnar board as well. It works like a Joystick.I use it at the moment to control the auto brake, some lights in the OVHD and ATC / AES for the FSX idle airplanes.Now I am looking to use it for the PMDG NGX to control the autobrake.So far I found out that I can set shortkeys for NGX to toggle "autobrake inc/dec" but it does not help me,since my 45° autobrake knob gives me "positions" - means I use in FSUIPC the "autobrake set" command + parameters.Because there was a long time passing since you published your MCP Pro/EFIS LUA,have you already created some LUA'S to control other buttons?Any hint are very much appreciated,Thanks, Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
December 26, 201114 yr Hi Steve,I have loaded your GF EFIS and MCP Pro LUA to my setup and it works quite well!Great Job!Now I'm looking for a way to control my Leo Bodnar board as well. It works like a Joystick.I use it at the moment to control the auto brake, some lights in the OVHD and ATC / AES for the FSX idle airplanes.Now I am looking to use it for the PMDG NGX to control the autobrake.So far I found out that I can set shortkeys for NGX to toggle "autobrake inc/dec" but it does not help me,since my 45° autobrake knob gives me "positions" - means I use in FSUIPC the "autobrake set" command + parameters.Because there was a long time passing since you published your MCP Pro/EFIS LUA,have you already created some LUA'S to control other buttons?Any hint are very much appreciated,Thanks,Since it's detected as a standard joystick, all you need is LINDA.For the axes you still need FSUIPC though
December 26, 201114 yr Author Hi Steve,I have loaded your GF EFIS and MCP Pro LUA to my setup and it works quite well!Great Job!Now I'm looking for a way to control my Leo Bodnar board as well. It works like a Joystick.I use it at the moment to control the auto brake, some lights in the OVHD and ATC / AES for the FSX idle airplanes.Now I am looking to use it for the PMDG NGX to control the autobrake.So far I found out that I can set shortkeys for NGX to toggle "autobrake inc/dec" but it does not help me,since my 45° autobrake knob gives me "positions" - means I use in FSUIPC the "autobrake set" command + parameters.Because there was a long time passing since you published your MCP Pro/EFIS LUA,have you already created some LUA'S to control other buttons?Any hint are very much appreciated,Thanks,Hi Dietmar,LINDA will do it for you, but you must make sure that you disable the VRinsight stuff because LINDA incorrectly sees the MCP PRO as a VRinsight device and will mess up my LUA script.If you still have problems after that, let me know and I'll write some autobrake LUA code for you.Best wishesSteve Stephen Munn
December 28, 201114 yr Dear Steve,many thanks for this great info.I recognized the name "Linda" in another forum but have never really looked at it.Now I have downloaded it and started to study the manual.Looks great for the first view but may need some time to test and find out if it works for me.Good hint, to delete the VRinsight stuff.As a X-Mas gift I got the VRinsight radio stack, that I will only use in a specific Cessna/Beechcraft setup.Hope that the radio stack driver will not collide with any GoFlight stuff that normally is used for my Boeing setup only....Will send you a note if LINDA worked for me or may come back with "cry for help"...Thanks again,Dietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 5, 201214 yr Hi Steve,First of all "Happy New Year" and all the best for 2012!I have now installed LINDA and I am excited about this great tool. But as expected - it has not provided the right solution for me without any changes.The problem is that my Leo Bodnar I/O board gives me for each autobrake position another knob,means autobrake "RTO" = knob 1; "OFF" = knob 2 , "1" = knob 3 , ....The existing PMDG NGX LUA scribt has only provided "NGX Autobrake inc", "NGX Autobrake dec" and "NGX Autobrake shown".To be honest, I was not able to fully understand the "NGX Autobrake shown" but looking at the LUA scribt it gave me a least an idea.So I understood that it is possible to read the actual autobrake knob position with " ipc.readLvar('ngx_switch_460_a') == xx "and then initiate inc-/dec steps via "ipc.control(70092, 8192)" or "ipc.control(70092, 16384)" until the position that is needed/selected via my knob connected to the Leo Bodnar board.So I created for each position a procedure like this:function NGX_AUTOBRAKE_OFF () if ipc.readLvar('ngx_switch_460_a') == 0 then ipc.control(70092, 16384) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 10 then DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 20 then ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 30 then ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 40 then ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 50 then ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") endend This is probably not the most elegant solution but at least it works and it has another advantage.Since I programmed for each knob position a function with the knob position name, it is veryeasy to assign a function to a knob via LINDA. Here is an example:I did similar functions for "N1 SET" and "SPD REF" knob.So it looks like that with your and with Dazz help I found a way to use my Leo Bodnar borads with the PMDG 737 NGX.Many thanks for you help!Now a further question:Recently I got the new GoFlight GF-WP-6 Annunciator Panel and I would like to make it working with the 737 NGX too.I tested some settings with the GoFlight Config tool but more ore less only the "STALL" function is working.Probably PMDG uses for "STALL" the FSX idle offsets. I opened a new discussion about this topic in AVSIM forum,but I got only one respond "wait for the PMDX SDK" which has not helped me really....Since you are the expert for GoFlight MCP and EFIS, do you know this GF-WP-6 panel?Did you wrote already something for this panel or at least can give me some hints,how I can proceed forward to create some additional lines into your Ngx_auto.lua ?Any hint are very much appreciated.Thanks,Dietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 5, 201214 yr oops - the screenshot of the LINDA knob assignment was not taken over.It should look like this: On Press On Repeat On Release1 NGX AUTOBRAKE RTO empty empty2 NGX AUTOBRAKE OFF empty empty3 NGX AUTOBRAKE 1 empty empty4 NGX AUTOBRAKE 2 empty empty5 NGX AUTOBRAKE 3 empty empty6 NGX AUTOBRAKE MAX empty empty Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 5, 201214 yr Author Hi Steve, First of all "Happy New Year" and all the best for 2012! I have now installed LINDA and I am excited about this great tool. But as expected - it has not provided the right solution for me without any changes. The problem is that my Leo Bodnar I/O board gives me for each autobrake position another knob, means autobrake "RTO" = knob 1; "OFF" = knob 2 , "1" = knob 3 , .... The existing PMDG NGX LUA scribt has only provided "NGX Autobrake inc", "NGX Autobrake dec" and "NGX Autobrake shown". To be honest, I was not able to fully understand the "NGX Autobrake shown" but looking at the LUA scribt it gave me a least an idea. So I understood that it is possible to read the actual autobrake knob position with " ipc.readLvar('ngx_switch_460_a') == xx " and then initiate inc-/dec steps via "ipc.control(70092, 8192)" or "ipc.control(70092, 16384)" until the position that is needed/selected via my knob connected to the Leo Bodnar board. So I created for each position a procedure like this: function NGX_AUTOBRAKE_OFF () if ipc.readLvar('ngx_switch_460_a') == 0 then ipc.control(70092, 16384) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 10 then DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 20 then ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 30 then ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 40 then ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") elseif ipc.readLvar('ngx_switch_460_a') == 50 then ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) ipc.control(70092, 8192) DspShow ("ABRK", "OFF") end end This is probably not the most elegant solution but at least it works and it has another advantage. Since I programmed for each knob position a function with the knob position name, it is very easy to assign a function to a knob via LINDA. Here is an example: I did similar functions for "N1 SET" and "SPD REF" knob. So it looks like that with your and with Dazz help I found a way to use my Leo Bodnar borads with the PMDG 737 NGX. Many thanks for you help! Now a further question: Recently I got the new GoFlight GF-WP-6 Annunciator Panel and I would like to make it working with the 737 NGX too. I tested some settings with the GoFlight Config tool but more ore less only the "STALL" function is working. Probably PMDG uses for "STALL" the FSX idle offsets. I opened a new discussion about this topic in AVSIM forum, but I got only one respond "wait for the PMDX SDK" which has not helped me really.... Since you are the expert for GoFlight MCP and EFIS, do you know this GF-WP-6 panel? Did you wrote already something for this panel or at least can give me some hints, how I can proceed forward to create some additional lines into your Ngx_auto.lua ? Any hint are very much appreciated. Thanks, Dietmar Hi Dietmar,Glad its worked out for you. In regards to the WP-6, I don't have it so don't really know. However, I attempted to help someone else with caution lights on different hardware, but sadly there appears to be no LUA variables for them and because the NGX is bespoke, the values from FSX do not work either.I only checked for the two main caution lights, not sure about the others. If they exist though, I would have thought LINDA would have identified them....have you checked in the LINDA tracer? Without any FSX offsets or LUA variables you will to wait for the SDK, unless someone else has figured things out.If the data does appear to exist, I can write an LUA script for you if you need any help in doing so.Best wishesSteve Stephen Munn
January 5, 201214 yr Hi Steve,many thanks for the prompt respond.I will trace with LINDA. Did it yesterday already and found the variables for the SPD REF and N1 knob.Hope I will find something for the annunciator and then I let you know.all the bestDietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 5, 201214 yr Hi Steve,many thanks for the prompt respond.I will trace with LINDA. Did it yesterday already and found the variables for the SPD REF and N1 knob.Hope I will find something for the annunciator and then I let you know.all the bestDietmarHi Dietmar,could be so kind to post ipc data regarding speed ref and n1 ?I did some traces days ago on NGX as I'm using OC cards and SIOC.Regards,Francesco Francesco GattaManaging Director / Media Royaldutchvirtual.com
January 5, 201214 yr Hi Francesco,not problem at all.Here is my function for the N1 knob (in "AUTO" position):function N1_Set_AUTO () if ipc.readLvar('ngx_switch_466_a') == 0 then ipc.control(70098, 16384) DspShow ("N1SET", "AUTO") elseif ipc.readLvar('ngx_switch_466_a') == 10 then ipc.control(70098, 16384) DspShow ("N1SET", "AUTO") elseif ipc.readLvar('ngx_switch_466_a') == 20 then DspShow ("N1SET", "AUTO") elseif ipc.readLvar('ngx_switch_466_a') == 30 then ipc.control(70098, 8192) DspShow ("N1SET", "AUTO") endend and here for the SPD REF knob (in "AUTO" position):function SPD_REF_Set_Auto () if ipc.readLvar('ngx_switch_464_a') == 0 then ipc.control(70096, 16384) DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 10 then DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 20 then ipc.control(70096, 8192) DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 30 then ipc.control(70096, 8192) ipc.control(70096, 8192) DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 40 then ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 50 then ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) DspShow ("SPDREF", "AUTO") elseif ipc.readLvar('ngx_switch_464_a') == 60 then ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) ipc.control(70096, 8192) DspShow ("SPDREF", "AUTO") endend Hope it helps you.best regardsDietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 5, 201214 yr thanks DietmarI can assign virtual button from OC cards so can I use LUA script to interface my stuff whit NGX ?or..I would like to call ( execute) a LUA function when I toogle a switch that is defined in SIOClike:Var 74 Link IOCARD_SW Input 65 Type I{IF v74 = 1{ call LUA function toggleVORL( or something like this)} Steve, Dietmar do you think that would it be possible ?Regards,Francesco Francesco GattaManaging Director / Media Royaldutchvirtual.com
January 6, 201214 yr Hi Francesco,unfortunately I am not familar with SIOC at the moment.I already bought 2 boards from OC (for LED control and for servo control for the flaps indicator),but I did not found the time until now to study the SIOC manuals......LINDA - as far as I understand it now - link the button events (press, repeat, release) straight to the LUA functionsof the selected aircraft specific LUA file. This is very convenient, especially since you can edit the LUA file via LINDA.At he moment I see only I/O boards accepted that work like joysticks,e.g. the BU0838X from Leo Bodnar, Saitek Yoke and Throttle and General Joysticks.All stuff from GoFlight is not visible at LINDA.If SIOC can assign a virtual button that will be accepted by LINDA as a joystick button, then it will be easy,you can copy my procedures and you need only to change the LVars.But if not then I am afraid you need to program a similar LUA as Steve did for the MCP Pro that is direct connected to FSUIPC.RegardsDietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 6, 201214 yr Hi Steve,regarding the GF-WP-6 panel, I used the tracer again.I could find out the LVars for all the caution buttons but I have no ideahow to control the LED's that should lightup in the caution events.Maybe LINDA is not the right tool to trigger this out.Since LINDA does not show the GoFlight moduls I used the way to program a Macrofor the caution buttons. I called it "PMDG NGX.mcro" and this is the content:[Macros]1=WARN A/P=C69971,5368709122=WARN A/T=C69972,5368709123=WARN FMC=C69973,5368709124=Master Fire=C69979,5368709125=Master Caution=C69980,536870912Then I used the button assignment via FSUIPC.It works fine to "delete" the alarms but as I said no LED works on the GF-WP-6 ... except the "STALL" ... and this is not needed for a B737.....You can request the value of the buttons via: e.g. for "A/P PRST" ngx_switch_339_a= 100 -- for button pressed ngx_switch_339_a= 0 -- for button releasedbut there is no value for ngx_switch_339_a= ??? that indicates the LED is on...Maybe I think in the wrong way....How does it work to get the info if an LED is on.I see that it works on MCP Pro but I do not understand how to make it happen for the WP-6..Any idea?ThanksDietmar Dietmar Kloss PC 1 (Main) - i7, 16 GB RAM, GTX 580, 120 GB SSD for W7, 120 GB SSD for FSX =========- - FSX, Germany VFR, Mega airports EDDM, EDDF, EGLL, German Airports 2+3, PMDG 737 NGX, FSUIPC 4.7 registered, Wideview Server PC 2 (Sideview) - i core 2 quad, 8 GB RAM, GTX 260, FSX, Wideview Client PC 3 (Panels) - AMD E-450, 2GB RAM, Graphik an Mainboard, project magenta GAIFR, RJGC Modul's - Goflight: EFIS, MCP Pro, T8, P8, LGTII, 166, RP48, Leo Bodnar: BU0836X
January 6, 201214 yr Author Hi Steve,regarding the GF-WP-6 panel, I used the tracer again.I could find out the LVars for all the caution buttons but I have no ideahow to control the LED's that should lightup in the caution events.Maybe LINDA is not the right tool to trigger this out.Since LINDA does not show the GoFlight moduls I used the way to program a Macrofor the caution buttons. I called it "PMDG NGX.mcro" and this is the content:[Macros]1=WARN A/P=C69971,5368709122=WARN A/T=C69972,5368709123=WARN FMC=C69973,5368709124=Master Fire=C69979,5368709125=Master Caution=C69980,536870912Then I used the button assignment via FSUIPC.It works fine to "delete" the alarms but as I said no LED works on the GF-WP-6 ... except the "STALL" ... and this is not needed for a B737.....You can request the value of the buttons via:e.g. for "A/P PRST" ngx_switch_339_a= 100 -- for button pressed ngx_switch_339_a= 0 -- for button releasedbut there is no value for ngx_switch_339_a= ??? that indicates the LED is on...Maybe I think in the wrong way....How does it work to get the info if an LED is on.I see that it works on MCP Pro but I do not understand how to make it happen for the WP-6..Any idea?ThanksDietmarHi Dietmar,Thats the problem, without an LUA variable that indicates the status of the lights (or or off) its impossible to write an LUA script to light the buttons on your goflight device.LINDA won't show up your goflight devices, but it will show up all the LUA variables, something its very good at.Best wishesStevethanks DietmarI can assign virtual button from OC cards so can I use LUA script to interface my stuff whit NGX ?or..I would like to call ( execute) a LUA function when I toogle a switch that is defined in SIOClike:Var 74 Link IOCARD_SW Input 65 Type I{IF v74 = 1{ call LUA function toggleVORL( or something like this)}Steve, Dietmar do you think that would it be possible ?Regards,FrancescoI'll need to have a read through the SIOC documentation before I can comment.Best wishesSteve Stephen Munn
Create an account or sign in to comment