Page 43 of 74 FirstFirst ... 3339404142434445464753 ... LastLast
Results 421 to 430 of 737
  1. #421
    New Member
    Join Date
    Jun 2010
    Location
    Russia
    Posts
    4
    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 RobiD View Post
    Rusdex,

    Can you show us the code your using to control the stepper board (C++ code).
    Thanks
    David
    1)
    MkFsObject(F_VS, "", cbGauges, 0x02C8,4, TP_I32, FS_NORMAL);
    MkFsbusObject (BTP_V_OUT, C_STEP1,"",cbGauges, 5, 80);
    //

    int ifvs = 0;
    case F_VS :
    ifvs = (val/19 + 400)/2;
    FsbusWrite(C_STEP1, ifvs);
    break;


    and

    2)
    case F_VS :
    FsbusWriteFmtVar(5, 80, (val/19 + 400)/2);
    break;

  2. #422
    New Member
    Join Date
    Jun 2010
    Location
    Russia
    Posts
    4
    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

    Stepper works only in the format BTP_A_OUT. I think that the problem in "dll". Firmware of the stepper module does not understand the additional 2 bytes, which sends the C++ router (total lenght - 5).
    For example - value "316"; CID - "11" : "dll" send AD 50 1E 02 CC, but admin send AC 50 1E 42


    Also do not work DISPLAY_BLANK, DISPLAY_BAR parameters for the display controllers

  3. #423
    150+ Forum Groupie


    388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    238
    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

    There are still some bugs that i need to work out but as far as the C++ i think that is done for now thanks David for your help. My C++ was and wasnt the same as your but was able to take mine out and put yours in and then add some extra in it and it works fine for me thanks again for your help.

    Trevor

  4. #424
    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,

    You are welcome. It's all made to go around.

    Do you have any thoughts on Rusdex's problem with the stepper. I haven't even began to look at the coding yet, but when I do, I'm going to need lots of input.

    Even Dirk said he would take a look at the code once I've got something done.

    David

  5. #425
    150+ Forum Groupie


    388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    238
    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

    I havent messed with the Stepper at all so i dont know Sry

  6. #426
    New Member
    Join Date
    Jun 2010
    Location
    Russia
    Posts
    4
    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
    My Stepper work only in the AdminTool in my C code i nevver had a movement.
    Stefan
    I have the same problem. You solved it?

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

    Rusdex,

    How did Stefan solve the problem??

    I am not far off of starting the code for my stepper board and if you've solved it, I'd love to know how.

    David

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

    Rusdex,

    Just stumbled across your videos on Youtube and it does appear as though you have got the stepper card working.

    Are you willing to share the code with us so we can see how it is coded.

    Thanks
    David

  9. #429
    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

    Quote Originally Posted by RobiD View Post
    How did Stefan solve the problem??
    I never solved the problem, i did test the stepper board a year ago without luck.

    Maybe you write a neu Output Funktion they send with the right format.
    @rusdex, do you report the results of your search to Dirk?

    Stefan

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

    I've sent Dirk an email with some questions and I have inlcuded your (Rusdex's) code for him to have a look at.

    I'll let you know what the outcome is. My hope is that Dirk can put us on the right track and we can all work on it together and come up with a solution that works.

    David

Similar Threads

  1. Fsbus ng io
    By Davral in forum I/O Interfacing Hardware and Software
    Replies: 1
    Last Post: 10-19-2024, 05:19 PM
  2. Need Help Getting My FSBUS NG I/O Going Again..
    By JBRoberts in forum I/O Interfacing Hardware and Software
    Replies: 15
    Last Post: 10-19-2024, 11:37 AM
  3. Help FSBUS
    By cesarfsim in forum I/O Interfacing Hardware and Software
    Replies: 3
    Last Post: 08-27-2024, 02:22 PM
  4. Fsbus CDK
    By flyandre in forum General Builder Questions All Aircraft Types
    Replies: 4
    Last Post: 12-27-2014, 12:58 PM
  5. 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

Tags for this Thread