Page 45 of 74 FirstFirst ... 3541424344454647484955 ... LastLast
Results 441 to 450 of 737
  1. #441
    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

    Dirk has suggested testing the code before using the replacement .dll file.
    I'll PM you the .dll file.

    Here is the email in it's entirity from Dirk:

    Hi David,

    I recently finished my stepper example. Please test the following simple program, replace COM5 and CID 23 by your values.
    It will set the stepper to position 0, then to 100 (steps) and after a delay of 2s back to zero.

    I've tested this successfully without change. If it doesn't work, please try the attached dll.

    Your question concerning the switches:
    The resistors are well dimensioned vor pics and atmels.
    The circuit works, if the zero position obscures the light from led to transistor.




    int _tmain(int argc, _TCHAR* argv[])
    {
    CheckIn();
    BOOL b = FsbusOpen("COM5");
    FsbusWriteFmtVar(23, 80, 0);
    FsbusMux(2000);
    FsbusWriteFmtVar(23, 80, 100);
    FsbusMux(2000);
    FsbusWriteFmtVar(23, 80, 0);
    FsbusMux(2000);
    CheckOut();
    return 0;
    }


    regards Dirk

  2. #442
    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,

    Let me know if you didn't get the PM. It did something strange when I pressed send so I'm not sure if it went or not.

    David

  3. #443
    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 David,

    the PM is there, thank you.
    I will check that file and code tonight.

    Stefan

  4. #444
    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

    The "old" Version don´t work, "new" Version work´s.

    The new one is Version 1.2.0, strange.

    Stefan

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

    How did you go Jan?

    Did you get it to work for you?

    David

  6. #446
    150+ Forum Groupie
    Join Date
    Mar 2009
    Location
    South Africa
    Posts
    221
    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 would love to test the new DLL.

    ALSO: I sometimes need to reprogram the IO board because it loses the fact that i have rotaries (12way modified) and then i get on off. I have to go into the admin program and set the switches again as a rotary!! Anyone had that issue? It is tiresome - having to constantly set switches as rotaries. I do not know why and I am doing nothing wierd - just switchin power on and oiff anmd starting the interface program. I haven't progressed at all with this because I just can't get my altitude to work it only works if i adjust it IN FSX with the mouse ALSO all rotaries are setting the digits backwards etc. I just can't see myself building any further panels and wasting more money. I have 5 cards build and the COm board and at the moment they are gathering dust. Just no enthusiasm anymore after battling for more than a year.

    Probably cheaper in the long run to go OC - and less head aches.

  7. #447
    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 shearder,

    I had a similar problem with my DIO board some time ago. It kept resetting the CID to 27 and losing all the preference for rotaries etc. Stefan helped with the suggestion regarding the board being reset due to the Brown out settings in the fuse bits. He offered me a solution that has not been fully varified as yet but I tried it and have not had another problem since.

    With the altitude indicator, look back in this thread and my altitude indicator code is there. Dig through it and see if you can use some of mine to fix the problems.

    I am having no problems with any of my gauges, switches, rotaries, displays, aircore gauges, etc etc etc. I have had an enormous amount of help from a lot of people to get to this point, but the greatest input and assistance has been from Stefan (thanks again Stefan).

    Are you working on a stepper board at present, as the .dll is being tested only for the stepper.


    Stefan or Jan, have you tried the test .dll on all of the other boards. Does everything else still function?

    David

  8. #448
    150+ Forum Groupie
    Join Date
    Mar 2009
    Location
    South Africa
    Posts
    221
    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 dude. No, no stepper boards as yet. Planned and i have 2 small stepper motors to test with but, as i said, i can't even get the Altitude to change pfff... I will look through the thread. Thanks.

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

    Also, see if Stefan will PM you the solution regarding the fuse bits. It's not for general publication just incase everyone fries their ATMEGA chips (yes, it is a possibility but it hasn't happened to me).

    David

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

    everything else still function?[/QUOTE]
    I checked that in the last houre, the DLL is the very old 1.2 version and is not working with the V2 code.
    @David did you report our results to Dirk?

    @shearder because of your erasing problem. Look to the ATMEL 8535 Manual on page 39 the part about BOD.
    There you see what that do and how you can enable that, i use 4V configuration.
    manual

    Stefan

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