Page 27 of 74 FirstFirst ... 1723242526272829303137 ... LastLast
Results 261 to 270 of 737
  1. #261
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Just completed my first ILS approach into Brisbane with my MCP and it's associated code, all went well with MCP controlling glideslope decent and runway alignment.

    Just have to work on my skill from 50feet down to the runway and stopping.

    My next task is to work on the stepper motor board so I can finally finish my Attitude indicator (it's complete, just haven't built the stepper board) and get the gyro compass working.

    I still have to build the Altitude indicator based on Mike's designs.


    Thanks for all your help Stefan, I'll sure it's not over yet though.

    David

  2. #262
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Hi Stefan,

    Don't know if you can answer this one for me, but maybe someone else can if you are unable.

    I am building another Servo Board and for some reason I am having trouble getting 22pf ceramic capacitors.

    I have lots of 27pf caps.

    Can I use these???

    Thanks
    David

  3. #263
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    318
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Hi,

    27pf is fine.

    Stefan

  4. #264
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Thanks Stefan,

    I thought they would be, but I just wanted to be sure before I solder them in.

    Regards
    David

    Oh, by the way, I have converted the bank portion of my attitude indicator to a servo as you suggested some time ago instead of the stepper I had put in there.

  5. #265
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Stefan,

    I am compiling after adding the code for Pitch and Bank, and I am getting warning message although it is still compiling.
    Do you know where the error is? What code do you want to see?

    Thanks
    David


    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
    Linking...
    Embedding manifest...

  6. #266
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    318
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Please show the line 141 in the gauges.cpp file.

  7. #267
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Hi Stefan,

    Line 141 is the calibrate fields, but I have included the code for this bit.

    ase FS_ATTITUDEINDICATORPITCH:
    {
    static CALTAB ATTITUDEINDICATORPITCHIndicator [] = {
    {-85,72},{-13.8,94},{-10.4,101},{-6.7,105},{-3.6,107},{0,111},{3.9,119},{6.5,124},{10.1,129},{14,132},{80,147}
    };
    val = Calibrate (val,ATTITUDEINDICATORPITCHIndicator,11);
    FsbusWrite (C_ATTITUDEINDICATORPITCH, val);
    }
    break;

    Actually, is the fact I'm using numbers like -10.4

    Do I have to use rounded numbers?

    Thanks
    David

  8. #268
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    318
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Yes try to round the Values.

    Short tip:
    FsbusWrite (C_ATTITUDEINDICATORPITCH, Calibrate (val,ATTITUDEINDICATORPITCHIndicator,11));

    Stefan

  9. #269
    150+ Forum Groupie


    388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    239
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    hey David would you be willing to Post some pics of your Boards and your MCP? Im wanting to make one as well in about 2-3 weeks

    Trevor

  10. #270
    300+ Forum Addict RobiD's Avatar
    Join Date
    Sep 2007
    Location
    Gold Coast, Australia
    Posts
    430
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Progamming help with FSBus dll

    Hi Trevor,

    Happy to, as soon as my wife can find the charger for our camera. (you know, it's put somewhere safe, never to be found again )

    I have only just put all the gauges and MCP back into the cockpit yesterday, so it would have been easier to have taken the photos then.

    David

Similar Threads

  1. Fsbus CDK
    By flyandre in forum General Builder Questions All Aircraft Types
    Replies: 4
    Last Post: 12-27-2014, 12:58 PM
  2. Need Help Getting My FSBUS NG I/O Going Again..
    By JBRoberts in forum I/O Interfacing Hardware and Software
    Replies: 14
    Last Post: 03-21-2010, 01:38 PM
  3. Fsbus ng io
    By Davral in forum I/O Interfacing Hardware and Software
    Replies: 0
    Last Post: 01-10-2009, 10:38 PM
  4. Fsbus 2.4.3
    By Anderson/SBSP in forum I/O Interfacing Hardware and Software
    Replies: 9
    Last Post: 11-30-2008, 04:25 PM
  5. Help FSBUS
    By cesarfsim in forum I/O Interfacing Hardware and Software
    Replies: 2
    Last Post: 10-26-2008, 02:23 PM

Tags for this Thread