Results 441 to 450 of 737
Thread: Progamming help with FSBus dll
-
08-30-2010, 03:54 AM #441
Re: Progamming help with FSBus dll
Dirk has suggested testing the code before using the replacement .dll file.
I'll PM you the .dll file.
Here is the email in it's entirity from Dirk:
Hi David,
I recently finished my stepper example. Please test the following simple program, replace COM5 and CID 23 by your values.
It will set the stepper to position 0, then to 100 (steps) and after a delay of 2s back to zero.
I've tested this successfully without change. If it doesn't work, please try the attached dll.
Your question concerning the switches:
The resistors are well dimensioned vor pics and atmels.
The circuit works, if the zero position obscures the light from led to transistor.
int _tmain(int argc, _TCHAR* argv[])
{
CheckIn();
BOOL b = FsbusOpen("COM5");
FsbusWriteFmtVar(23, 80, 0);
FsbusMux(2000);
FsbusWriteFmtVar(23, 80, 100);
FsbusMux(2000);
FsbusWriteFmtVar(23, 80, 0);
FsbusMux(2000);
CheckOut();
return 0;
}
regards Dirk
-
08-30-2010, 05:25 AM #442
Re: Progamming help with FSBus dll
Stefan,
Let me know if you didn't get the PM. It did something strange when I pressed send so I'm not sure if it went or not.
David
-
08-30-2010, 05:31 AM #443
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Hi David,
the PM is there, thank you.
I will check that file and code tonight.
Stefan
-
08-30-2010, 11:11 AM #444
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
The "old" Version don´t work, "new" Version work´s.
The new one is Version 1.2.0, strange.
Stefan
-
09-02-2010, 06:34 AM #445
Re: Progamming help with FSBus dll
How did you go Jan?
Did you get it to work for you?
David
-
09-04-2010, 08:11 AM #446
- Join Date
- Mar 2009
- Location
- South Africa
- Posts
- 221
Re: Progamming help with FSBus dll
I would love to test the new DLL.
ALSO: I sometimes need to reprogram the IO board because it loses the fact that i have rotaries (12way modified) and then i get on off. I have to go into the admin program and set the switches again as a rotary!! Anyone had that issue? It is tiresome - having to constantly set switches as rotaries. I do not know why and I am doing nothing wierd - just switchin power on and oiff anmd starting the interface program. I haven't progressed at all with this because I just can't get my altitude to work it only works if i adjust it IN FSX with the mouse ALSO all rotaries are setting the digits backwards etc. I just can't see myself building any further panels and wasting more money. I have 5 cards build and the COm board and at the moment they are gathering dust. Just no enthusiasm anymore after battling for more than a year.
Probably cheaper in the long run to go OC - and less head aches.
-
09-04-2010, 08:21 AM #447
Re: Progamming help with FSBus dll
Hi shearder,
I had a similar problem with my DIO board some time ago. It kept resetting the CID to 27 and losing all the preference for rotaries etc. Stefan helped with the suggestion regarding the board being reset due to the Brown out settings in the fuse bits. He offered me a solution that has not been fully varified as yet but I tried it and have not had another problem since.
With the altitude indicator, look back in this thread and my altitude indicator code is there. Dig through it and see if you can use some of mine to fix the problems.
I am having no problems with any of my gauges, switches, rotaries, displays, aircore gauges, etc etc etc. I have had an enormous amount of help from a lot of people to get to this point, but the greatest input and assistance has been from Stefan (thanks again Stefan).
Are you working on a stepper board at present, as the .dll is being tested only for the stepper.
Stefan or Jan, have you tried the test .dll on all of the other boards. Does everything else still function?
David
-
09-04-2010, 08:28 AM #448
- Join Date
- Mar 2009
- Location
- South Africa
- Posts
- 221
Re: Progamming help with FSBus dll
Thanks dude. No, no stepper boards as yet. Planned and i have 2 small stepper motors to test with but, as i said, i can't even get the Altitude to change pfff... I will look through the thread. Thanks.
-
09-04-2010, 08:31 AM #449
Re: Progamming help with FSBus dll
Also, see if Stefan will PM you the solution regarding the fuse bits. It's not for general publication just incase everyone fries their ATMEGA chips (yes, it is a possibility but it hasn't happened to me).
David
-
09-06-2010, 01:00 PM #450
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
everything else still function?[/QUOTE]
I checked that in the last houre, the DLL is the very old 1.2 version and is not working with the V2 code.
@David did you report our results to Dirk?
@shearder because of your erasing problem. Look to the ATMEL 8535 Manual on page 39 the part about BOD.
There you see what that do and how you can enable that, i use 4V configuration.
manual
Stefan
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...