Results 491 to 500 of 737
Thread: Progamming help with FSBus dll
-
10-15-2010, 09:44 AM #491
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Would that object be having any effect on 'no movement' on the gauge.
You use the V1.2 DLL? Do the board work with the sample Project?
-
10-15-2010, 09:54 AM #492
Re: Progamming help with FSBus dll
Yes, the board worked with Dirks code that you sent me.
I will test it again tomorrow to make sure nothing has changed.
Can you give me the exact syntax for print function, should it be printf(val %d);
-
10-15-2010, 11:02 AM #493
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
should it be printf(val %d);
print("here you can write what you like %d\n",val);
http://www.cplusplus.com/reference/c...cstdio/printf/
The code i mailed is for Version 1.2 that donīt work with V2.
So you have to make a new projekt for the Steppers with a own Com Board.
Or you go completly back to V1.2.
Or you wait till the steppers are fixed in V2. Hopefully that happend in the future.
-
10-15-2010, 05:23 PM #494
Re: Progamming help with FSBus dll
Stefan,
I used your code, but the .dll in the windows folder was the current one. I did not replace it with the old version.
I let Dirk know this and his reply was:
Hi David,
you are right, the DLL in the internet is the one and only. The reaseon I sent you another DLL was, to be sure you have exactly the one, which I had tested with.
best regards
Dirk
So from what I can figure out, your code worked with the latest version .dll from the website.
Feeling a little confused.
I will do some more testing today with your code.
-
10-16-2010, 02:06 AM #495
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
With my hardware the V2 DLL (from the website) donīt work.
The DLL you mailed work for the stepper, but that is V1.2.
In the projekt the is the V1.2 Dll includet.
On Fsweekend i will go with all my Stepper stuff to Dirk. Then we will see.
-
10-16-2010, 02:26 AM #496
Re: Progamming help with FSBus dll
Hi Stefan.
I used the project you sent me but used the .dll from the latest version. I placed the fsbus.dll file in C:windows/system32 folder
I have not used the version that Dirk sent me. I am trying to get a couple of minutes away from my little 3 year old to test again, but not having much luck. Maybe tonight when she goes to bed.
FSWeekend is only a couple of weeks away isn't it?
David
-
10-16-2010, 02:43 AM #497
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Interessting, if you start the Sample Prject than it shows V2 in the first line of the Dos box?
-
10-16-2010, 04:25 AM #498
Re: Progamming help with FSBus dll
Now I'm more confused.
Just tested again.
Did as it should, but at the top of the DOS box said 1.2.0
I don't have this version (I mean I have it, but it is not in the windows directory where it is supposed to be, only V2 is in the directory.
So where is it getting Version 1.2.0 from?
-
10-16-2010, 06:39 AM #499
Re: Progamming help with FSBus dll
Stefan,
Rebuilt the sample code from scratch in order to make sure it used version 2.0.0 and it didn't work. Then tested your code again which uses 1.2.0 and it worked.
Hmmmm. I have sent Dirk an email to explain this as I had told him that it was working.
David
PS this would also explain why the code for the Altitude indicator didn't work. It was using version 2.0.0
-
10-16-2010, 10:04 AM #500
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
that sounds good, at morning i think iīm stupid.
The exe file looks as first to his own source folder than to Windows/system32 and in the source folder i put the V1.2 DLL.
As you know i only publish all in one packs.
Now we both have the same error situation. (That what we have, i told Dirk last year at FSweekend.)
This year i will show Dirk that all. I have a second Com Boad with USB Powersupply, Stepper, Stepper Board.
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
Search Prettys Womans from your city for night
5.Sharing an Essay about PIC16F877