Results 261 to 270 of 737
Thread: Progamming help with FSBus dll
-
01-25-2010, 09:08 AM #261
Re: Progamming help with FSBus dll
Just completed my first ILS approach into Brisbane with my MCP and it's associated code, all went well with MCP controlling glideslope decent and runway alignment.
Just have to work on my skill from 50feet down to the runway and stopping.
My next task is to work on the stepper motor board so I can finally finish my Attitude indicator (it's complete, just haven't built the stepper board) and get the gyro compass working.
I still have to build the Altitude indicator based on Mike's designs.
Thanks for all your help Stefan, I'll sure it's not over yet though.
David
-
02-07-2010, 11:06 PM #262
Re: Progamming help with FSBus dll
Hi Stefan,
Don't know if you can answer this one for me, but maybe someone else can if you are unable.
I am building another Servo Board and for some reason I am having trouble getting 22pf ceramic capacitors.
I have lots of 27pf caps.
Can I use these???
Thanks
David
-
02-08-2010, 04:31 AM #263
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Hi,
27pf is fine.
Stefan
-
02-08-2010, 04:50 AM #264
Re: Progamming help with FSBus dll
Thanks Stefan,
I thought they would be, but I just wanted to be sure before I solder them in.
Regards
David
Oh, by the way, I have converted the bank portion of my attitude indicator to a servo as you suggested some time ago instead of the stepper I had put in there.
-
02-14-2010, 11:06 PM #265
Re: Progamming help with FSBus dll
Stefan,
I am compiling after adding the code for Pitch and Bank, and I am getting warning message although it is still compiling.
Do you know where the error is? What code do you want to see?
Thanks
David
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
c:\documents and settings\david\my documents\visual studio 2008\projects\davids flight sim\davids flight sim\gauges.cpp(141) : warning C4244: 'initializing' : conversion from 'double' to 'int', possible loss of data
Linking...
Embedding manifest...
-
02-15-2010, 03:07 AM #266
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Please show the line 141 in the gauges.cpp file.
-
02-15-2010, 03:14 AM #267
Re: Progamming help with FSBus dll
Hi Stefan,
Line 141 is the calibrate fields, but I have included the code for this bit.
ase FS_ATTITUDEINDICATORPITCH:
{
static CALTAB ATTITUDEINDICATORPITCHIndicator [] = {
{-85,72},{-13.8,94},{-10.4,101},{-6.7,105},{-3.6,107},{0,111},{3.9,119},{6.5,124},{10.1,129},{14,132},{80,147}
};
val = Calibrate (val,ATTITUDEINDICATORPITCHIndicator,11);
FsbusWrite (C_ATTITUDEINDICATORPITCH, val);
}
break;
Actually, is the fact I'm using numbers like -10.4
Do I have to use rounded numbers?
Thanks
David
-
02-15-2010, 03:20 AM #268
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Yes try to round the Values.
Short tip:
FsbusWrite (C_ATTITUDEINDICATORPITCH, Calibrate (val,ATTITUDEINDICATORPITCHIndicator,11));
Stefan
-
02-15-2010, 09:17 AM #269
Re: Progamming help with FSBus dll
hey David would you be willing to Post some pics of your Boards and your MCP? Im wanting to make one as well in about 2-3 weeks
Trevor
-
02-15-2010, 05:15 PM #270
Re: Progamming help with FSBus dll
Hi Trevor,
Happy to, as soon as my wife can find the charger for our camera. (you know, it's put somewhere safe, never to be found again )
I have only just put all the gauges and MCP back into the cockpit yesterday, so it would have been easier to have taken the photos then.
David
Similar Threads
-
Fsbus CDK
By flyandre in forum General Builder Questions All Aircraft TypesReplies: 4Last Post: 12-27-2014, 12:58 PM -
Need Help Getting My FSBUS NG I/O Going Again..
By JBRoberts in forum I/O Interfacing Hardware and SoftwareReplies: 14Last Post: 03-21-2010, 01:38 PM -
Fsbus ng io
By Davral in forum I/O Interfacing Hardware and SoftwareReplies: 0Last Post: 01-10-2009, 10:38 PM -
Fsbus 2.4.3
By Anderson/SBSP in forum I/O Interfacing Hardware and SoftwareReplies: 9Last Post: 11-30-2008, 04:25 PM -
Help FSBUS
By cesarfsim in forum I/O Interfacing Hardware and SoftwareReplies: 2Last Post: 10-26-2008, 02:23 PM
Candid connections: Platform for casual relationships Live Women Prime Сasual Dating
Super Сasual Dating - Genuine...