Re: Progamming help with FSBus dll
Quote:
Originally Posted by
mondo50m
Does anyone out there have any examples of this programming stuff? I have completed buiding an Engine Oil gauge using servos that will be put into a Bell 206 panel. The gauge contains 2 servos, one for the pressure on the left of the gauge and one for the temp on the right of the gauge. It works fine in the fsbus setup. I am having a really hard time 'wrapping my head' around the programming. Stefan has been extremely generous in his help getting the files set up. If someone can come up with an example of making a servo work through all of this, it would be appreciated. I get confused when it comes to when I need to have a .cpp file, a .h file and so on. Is there a set way of doing all of this so it makes sense? What I mean is....if I want to make an engoilpress object, what needs to be put in what file to make it work? Please help, I know I am old, but I have a few brain cells left, and hopefully this stuff can be beaten into me. I do see some examples in in this thread, but I can not get them printed out so that they are useful to me. So, something that I can print out and look at while I am working on mine would be of great help.
Milt
Hi Milt,
Here is a zip file of my complete project. In it you will find examples of servo, switches, rotaries, aircore movement gauges, all except steppers.
Download it from here : http://www.safeweighloss4kids.com/do...Flight_sim.zip
Regards
David
Re: Progamming help with FSBus dll
Thank you, Thank you. This will get me the knowledge that I am looking for. I have gotten the eng oil temp and pressure, transmission temp and pressure, and torque percentage gauges complete. I am almost done with the attitude gauge. I have the first three programmed and running, but get stuck on some of the programming, so this is going to be what I need.
Milt
Re: Progamming help with FSBus dll
Hi,
The link seems not to work.
Best regards
Jan Geurtsen
Quote:
Originally Posted by
RobiD
Re: Progamming help with FSBus dll
Use http://www.safeweighloss4kids.com/ (I believe this is what I did). Then when you get to the website, just type in the donotlookhere in the url area and then choose the file from the list.
Milt
Re: Progamming help with FSBus dll
Opps, forgot the 't' in weight.
Link is: http://www.safeweightloss4kids.com/d...Flight_sim.zip
Sorry guys.
Re: Progamming help with FSBus dll
HA! HA! HA! Dd not matter, I got to it anyway.
Milt
Re: Progamming help with FSBus dll
Hey David
You know i have spent hours and i cannot figure what i did to get the APP to work for the glide slope! It disables heading and intercepts and turns into the glide-path but when it intercepts the glide-slope it does not disable the ALT and follow the slope down!!
I am lost! Damn hard drive - i should have backed it up but when i say it crashed i mean it is no longer "seen" by the system on ANY PC. so all changes i made to the project are lost!
Re: Progamming help with FSBus dll
Sean, perhaps Stefan can take a look at the code. Chances are that if your code is not disabiling the ALT and following the glideslope down, neither is mine.
Can you post the code for the APP. My understanding is that everything that is meant to happen when you push APP should be in this section of code (I hope).
Stefan, can you take a look and let us know?
Thanks
David
Re: Progamming help with FSBus dll
David, I am not home right now and the code i will have to post was the default code i was building on from you. I got it working like a charm and after the crash forgot what i fixed. I remember comparing why the HDG was working and not the ALT and then "did something" but i never did much after getting it all to work and now it has been a whle that i can;t remember what it was LMAO - a pain really!
Re: Progamming help with FSBus dll
Bugger, I wish I could remember for you.
Perhaps just sitting with it for a while without pressure, it may just occur to you again.
Please let me know, or at least write it up here to benefit others (perhaps even yourself again... No, I bet it won't happen again)
David