Results 641 to 650 of 737
Thread: Progamming help with FSBus dll
-
02-09-2011, 09:07 AM #641
Re: Progamming help with FSBus dll
Ok, that's much much better. Gauge is now a little behind ie: in 180 degrees on the screen, gauge will move 150 deg.
Also, when the needle gets to the bottom (relative bearing data goes from 1222 to 0, or the val goes from +32765 to -32765, the needle does a full 360 deg turn plus another 30degress.
Seems like it's getting close.
-
02-09-2011, 09:13 AM #642
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Ok edit that line to that.
ADF1RelDataIn = val + 32765;
Also, when the needle gets to the bottom (relative bearing data goes from 1222 to 0, or the val goes from +32765 to -32765, the needle does a full 360 deg turn plus another 30degress.
We need something like a counter that count how many full cirrcles the Data input turn. With that we can add full circle steps to the output.
That is a good homework for us.
Stefan
-
02-09-2011, 09:21 AM #643
-
02-09-2011, 09:23 AM #644
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
no that is to change the signed Value in an unsigned value.
-
02-09-2011, 09:27 AM #645
Re: Progamming help with FSBus dll
Ok, so this is what I need to change: static int ADF1RelNeedleStep = 1150;?
-
02-09-2011, 09:28 AM #646
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
That is the nummber of Steps for a full 360.
-
02-09-2011, 09:31 AM #647
Re: Progamming help with FSBus dll
I will do some calculations tomorrow to work out a little more accurately the number of steps.
-
02-09-2011, 09:34 AM #648
Re: Progamming help with FSBus dll
Just another thing, in the FSUIPC SDK the offset I'm using states this:
relative bearing to NDB ( *360/65536 for degrees, –ve
left, +ve right)
so if I divide 65536 by 2 would be 32768. Should this be the number in this line: ADF1RelDataIn = val + 32765;
-
02-09-2011, 10:40 AM #649
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
maybe, you write that the values are -32765 to 32765.
-
02-09-2011, 02:16 PM #650
- Join Date
- Mar 2009
- Location
- South Africa
- Posts
- 221
Re: Progamming help with FSBus dll
Hey guys
Ok i put a new 8535 in and flashed fine, set bits and BO no problems. BUT - during a flight same issue but this time it was VS and CRS that stopped working.
Do you know if the new DLL would fix these problems? When will it be released?
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
Pretty Girls from your city for night
Generic Analog Gauges