Page 72 of 75 FirstFirst ... 22626869707172737475 LastLast
Results 711 to 720 of 746
  1. #711
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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 Ciccio

    Thank you for the very kind offer.. although you might live to regret it .

    I have struggled enough to learn the little I know about CDK so I will be starting as a complete beginner with DLL even after reading or trying to read the documentation that comes with it.

    I have also, over the years, tried to learn C from books but I have come to the conclusion I have no programming DNA in me.Its very frustrating as I am not an idiot (I have even got a degree in mechatronics...but have forgotten all of it !!!)...but is= all just seems foreign to me.

    I have tried with "samples" but they make no sense especially how they always are an example of something obscure..I know its to just give an idea but unless I can relate it to a real thing I have less than no hope........

    John
    Old, tired & broke (shouldn't be allowed out really)

  2. #712
    10+ Posting Member
    Join Date
    Apr 2009
    Location
    Squillace
    Posts
    20
    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

    what kind of aircraft are you building? what kind of FSBUS interfaces have you built?

  3. #713
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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

    A 737 800 ish (iFly) captains side only (no space!)

    I have

    1x COM (ng)
    2x I/O
    1x Display 6 pack
    2x Display 2 pack

    Plus below not used so far but tested in fs admin
    1x DO64
    2x servo

    Panels made so far
    MCP
    Nav Radio
    VHF Radio
    The above are used and for the most part working (CDK)

    Below are built but not tested with a cockpit

    Throttle quadrant.
    EFIS
    Landing gear lever
    Flaps gauge still in prototype.

    John

    ps
    I bought a laser cutter and engraver to make my parts so if you want any bits made let me know!
    Old, tired & broke (shouldn't be allowed out really)

  4. #714
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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

    WAHOO

    You are not going to believe this BUT I have found a way !!!!!!!!!!!!!!!!!!! Hours of trial and error !

    I have set two switches to turn two lights (on the same offset) on and off.They do not interact (so it seems) with anything else that should not be turning on and off.
    For those interested here's and excerpt from my trial ini file



    'Flight sim component


    ' Name ID Offset Type Mul Div Interval Param Flags
    '----------------------------------------------------------------------
    F, FLLIGHT, 0, 0x0D0C, I16, 1, 1, 1, 1, RW|BIT
    F, FTAXION, 0, 0x0D0C, I16, 1, 1, 1, 3, RW|BIT

    The Param number being the BIT you want to access 0,1,2,3, etc
    I could not be happier right now!!...I am sure it won't last.

    Next stop is grab a handful of switches and see if all 8 work as they should.

    John
    Last edited by John_B; 07-10-2013 at 12:22 PM. Reason: more info
    Old, tired & broke (shouldn't be allowed out really)

  5. #715
    10+ Posting Member
    Join Date
    Apr 2009
    Location
    Squillace
    Posts
    20
    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

    Oh very good!! Happy for you. Anyway if you like you can download this c++ code for your 737 from download. It's a good base to start with, and I can help you to adapt it for your hardware and software.

    So you can engrave. Yes I need some panels for my A320. I have .cad files. What kind of software are you using for your CNC? Price for engraving?

    Thanks

    Ciccio

  6. #716
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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 Ciccio

    Thanks for the link

    Its Robs CDK files I started with and altered t get as far as I did unfortunately as its fairly old it doesn't cover the iFly 737 very much as I don't think many of the systems were modeled then (might be wrong)

    But as you say a good basis to start with DLL !!!

    For panels what formats of cad can you save to?
    Have you drawn them? If so what software did you use?
    I use Corel draw...only because its really easy LOL.

    I have vers 6 and 4 but the laser is directly linked to vers 4
    I can import most file types but have found out that some just don't keep accurate dimensions.

    As for cost .. how does material costs plus a bit for the laser maintenance sound?...


    What colour do you need the base RAL7011 or something similar? (for RAL 7011 I think I'll need to buy a spray as I use a very acceptable locally obtainable grey)

    Also, you might be interested, I have a friend that makes very good Boeing knobs etc at really reasonable cost.

    I'll send a PM with my email

    John
    Old, tired & broke (shouldn't be allowed out really)

  7. #717
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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 to keep up to date!

    Really cooking with gas now.
    Got the "BIT addressed Leds" working in FSBUS (CDK) ....Long task of writing the files ahead.

    Plus a downer..dug out my 64 digital out card only to find at some stage I had spilled etching fluid on it ARGH....all my chips are eroded away too double argh!!!!!!


    John
    Old, tired & broke (shouldn't be allowed out really)

  8. #718
    New Member
    Join Date
    Feb 2012
    Location
    Germany
    Posts
    1
    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,

    i am new in this thread. i have a question about FSBus DLL 3.01. In my Project i created 108 FS-Obj. But only 104 are polled (checked with FsInvalidate). Is there a limit of FS-Obj. FsReadDirect works fine but slows things down. I am using MS C++ 2008 EE. Any idea ?

    Dirk

  9. #719
    75+ Posting Member
    Join Date
    Jan 2012
    Location
    Bexleyheath,Kent UK
    Posts
    102
    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 Kosmo_001 View Post
    Hi,

    i am new in this thread. i have a question about FSBus DLL 3.01. In my Project i created 108 FS-Obj. But only 104 are polled (checked with FsInvalidate). Is there a limit of FS-Obj. FsReadDirect works fine but slows things down. I am using MS C++ 2008 EE. Any idea ?

    Dirk
    I might be terribly wrong on this as I am struggling to learn this stuff myself.
    BUT I do, kinda, recall reading somewhere that you define the number of objects?
    Where I don't remember though (am struggling at the moment with an "undefined identifier" so I dare not distract myself by wading through all the bumf I have.)

    John
    Old, tired & broke (shouldn't be allowed out really)

  10. #720
    150+ Forum Groupie


    388TH_A's Avatar
    Join Date
    Nov 2008
    Location
    Medford, Oregon (USA)
    Posts
    242
    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 is everyone? Me, im staring to pick this back up and I cant seem to find all of my files so I have to start over lol - o well

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, 02: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, 03:23 PM

Tags for this Thread