Page 50 of 74 FirstFirst ... 4046474849505152535460 ... LastLast
Results 491 to 500 of 737
  1. #491
    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

    Would that object be having any effect on 'no movement' on the gauge.
    no, it only need磗 some ms. That is a time that nobody see.

    You use the V1.2 DLL? Do the board work with the sample Project?

  2. #492
    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

    Yes, the board worked with Dirks code that you sent me.

    I will test it again tomorrow to make sure nothing has changed.

    Can you give me the exact syntax for print function, should it be printf(val %d);

  3. #493
    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

    should it be printf(val %d);
    no
    print("here you can write what you like %d\n",val);

    http://www.cplusplus.com/reference/c...cstdio/printf/

    The code i mailed is for Version 1.2 that don磘 work with V2.
    So you have to make a new projekt for the Steppers with a own Com Board.
    Or you go completly back to V1.2.
    Or you wait till the steppers are fixed in V2. Hopefully that happend in the future.

  4. #494
    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 used your code, but the .dll in the windows folder was the current one. I did not replace it with the old version.

    I let Dirk know this and his reply was:

    Hi David,

    you are right, the DLL in the internet is the one and only. The reaseon I sent you another DLL was, to be sure you have exactly the one, which I had tested with.

    best regards

    Dirk

    So from what I can figure out, your code worked with the latest version .dll from the website.

    Feeling a little confused.

    I will do some more testing today with your code.

  5. #495
    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

    With my hardware the V2 DLL (from the website) don磘 work.
    The DLL you mailed work for the stepper, but that is V1.2.
    In the projekt the is the V1.2 Dll includet.

    On Fsweekend i will go with all my Stepper stuff to Dirk. Then we will see.

  6. #496
    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

    Quote Originally Posted by sgaert View Post
    With my hardware the V2 DLL (from the website) don磘 work.
    The DLL you mailed work for the stepper, but that is V1.2.
    In the projekt the is the V1.2 Dll includet.

    On Fsweekend i will go with all my Stepper stuff to Dirk. Then we will see.
    Hi Stefan.

    I used the project you sent me but used the .dll from the latest version. I placed the fsbus.dll file in C:windows/system32 folder

    I have not used the version that Dirk sent me. I am trying to get a couple of minutes away from my little 3 year old to test again, but not having much luck. Maybe tonight when she goes to bed.

    FSWeekend is only a couple of weeks away isn't it?

    David

  7. #497
    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

    Interessting, if you start the Sample Prject than it shows V2 in the first line of the Dos box?

  8. #498
    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

    Now I'm more confused.

    Just tested again.

    Did as it should, but at the top of the DOS box said 1.2.0
    I don't have this version (I mean I have it, but it is not in the windows directory where it is supposed to be, only V2 is in the directory.

    So where is it getting Version 1.2.0 from?

  9. #499
    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,

    Rebuilt the sample code from scratch in order to make sure it used version 2.0.0 and it didn't work. Then tested your code again which uses 1.2.0 and it worked.

    Hmmmm. I have sent Dirk an email to explain this as I had told him that it was working.

    David

    PS this would also explain why the code for the Altitude indicator didn't work. It was using version 2.0.0

  10. #500
    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

    that sounds good, at morning i think i磎 stupid.

    The exe file looks as first to his own source folder than to Windows/system32 and in the source folder i put the V1.2 DLL.
    As you know i only publish all in one packs.

    Now we both have the same error situation. (That what we have, i told Dirk last year at FSweekend.)
    This year i will show Dirk that all. I have a second Com Boad with USB Powersupply, Stepper, Stepper Board.

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