Results 1 to 3 of 3
  1. #1
    10+ Posting Member alotfont's Avatar
    Join Date
    Sep 2012
    Location
    Mexico City
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Airbus MCDU SENDKEYS VISUAL BASIC FUNCTION HELP REQUIRED

    Hello JL!,

    I built an MCDU using Arduino and I am trying to connect it to your MCDU software using Visual Basic .NET SendKeys function (I also tried using AUTOIT), however, the window activates but the keys are not shown. I have tried the code with other programs and it works fine. So I was wondering if you knew how could I manage to send keys to the MCDU from Visual Basic. This is the code I am using:




    AppActivate("CPT MCDU") // Activates Captain MCDU window in order to send keys to it.
    SendKeys.Send("A") // Sends key "A"

    Thank you very much in advance!

    Andrew

  2. #2
    75+ Posting Member anzabon's Avatar
    Join Date
    Apr 2014
    Location
    Moon Base
    Posts
    78
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: MCDU SENDKEYS VISUAL BASIC FUNCTION HELP REQUIRED

    Hi Andrew,
    why don't you try the MobiFlight software? It's especially made for use with Arduino Mega and Uno and runs very smooth and stable with FSUIPC and Jeehells FMGS. Freeware, fantastic support, easy programming and interfacing included
    www.mobiflight.de

    Regards
    Bon

  3. #3
    10+ Posting Member alotfont's Avatar
    Join Date
    Sep 2012
    Location
    Mexico City
    Posts
    10
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: MCDU SENDKEYS VISUAL BASIC FUNCTION HELP REQUIRED

    Thank you very much Bon!

    I didn`t know about MobiFlight, it's GREAT! , however my MCDU is cabled using a keypad configuration so instead of using 72 arduino ports I am using only 16. MobiFlight does not support (I think) the keypad configuration. Anyway I finally managed to use the FSUIPC DLL from Paul Henty in VB Net and now I am sending the arduino keystrokes successfully. I will definitely use Mobiflight for the rest of my hardware.

    Thank you very much!

    Andres

Tags for this Thread