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
Re: Progamming help with FSBus dll
what kind of aircraft are you building? what kind of FSBUS interfaces have you built?
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!
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 !:cool:
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
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
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
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
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
Re: Progamming help with FSBus dll
Quote:
Originally Posted by
Kosmo_001
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
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