Results 421 to 430 of 737
Thread: Progamming help with FSBus dll
-
06-04-2010, 06:43 PM #421
- Join Date
- Jun 2010
- Location
- Russia
- Posts
- 4
Re: Progamming help with FSBus dll
1)
MkFsObject(F_VS, "", cbGauges, 0x02C8,4, TP_I32, FS_NORMAL);
MkFsbusObject (BTP_V_OUT, C_STEP1,"",cbGauges, 5, 80);
//
int ifvs = 0;
case F_VS :
ifvs = (val/19 + 400)/2;
FsbusWrite(C_STEP1, ifvs);
break;
and
2)
case F_VS :
FsbusWriteFmtVar(5, 80, (val/19 + 400)/2);
break;
-
06-05-2010, 04:36 PM #422
- Join Date
- Jun 2010
- Location
- Russia
- Posts
- 4
Re: Progamming help with FSBus dll
Stepper works only in the format BTP_A_OUT. I think that the problem in "dll". Firmware of the stepper module does not understand the additional 2 bytes, which sends the C++ router (total lenght - 5).
For example - value "316"; CID - "11" : "dll" send AD 50 1E 02 CC, but admin send AC 50 1E 42
Also do not work DISPLAY_BLANK, DISPLAY_BAR parameters for the display controllers
-
06-05-2010, 08:53 PM #423
Re: Progamming help with FSBus dll
There are still some bugs that i need to work out but as far as the C++ i think that is done for now thanks David for your help. My C++ was and wasnt the same as your but was able to take mine out and put yours in and then add some extra in it and it works fine for me thanks again for your help.
Trevor
-
06-06-2010, 01:09 AM #424
Re: Progamming help with FSBus dll
Hi Trevor,
You are welcome. It's all made to go around.
Do you have any thoughts on Rusdex's problem with the stepper. I haven't even began to look at the coding yet, but when I do, I'm going to need lots of input.
Even Dirk said he would take a look at the code once I've got something done.
David
-
06-06-2010, 07:19 AM #425
Re: Progamming help with FSBus dll
I havent messed with the Stepper at all so i dont know Sry
-
06-08-2010, 06:49 AM #426
- Join Date
- Jun 2010
- Location
- Russia
- Posts
- 4
-
06-10-2010, 06:41 AM #427
Re: Progamming help with FSBus dll
Rusdex,
How did Stefan solve the problem??
I am not far off of starting the code for my stepper board and if you've solved it, I'd love to know how.
David
-
06-10-2010, 06:54 AM #428
Re: Progamming help with FSBus dll
Rusdex,
Just stumbled across your videos on Youtube and it does appear as though you have got the stepper card working.
Are you willing to share the code with us so we can see how it is coded.
Thanks
David
-
06-10-2010, 07:29 AM #429
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
-
06-10-2010, 07:48 AM #430
Re: Progamming help with FSBus dll
I've sent Dirk an email with some questions and I have inlcuded your (Rusdex's) code for him to have a look at.
I'll let you know what the outcome is. My hope is that Dirk can put us on the right track and we can all work on it together and come up with a solution that works.
David
Similar Threads
-
Fsbus ng io
By Davral in forum I/O Interfacing Hardware and SoftwareReplies: 1Last Post: 10-19-2024, 05:19 PM -
Need Help Getting My FSBUS NG I/O Going Again..
By JBRoberts in forum I/O Interfacing Hardware and SoftwareReplies: 15Last Post: 10-19-2024, 11:37 AM -
Help FSBUS
By cesarfsim in forum I/O Interfacing Hardware and SoftwareReplies: 3Last Post: 08-27-2024, 02:22 PM -
Fsbus CDK
By flyandre in forum General Builder Questions All Aircraft TypesReplies: 4Last Post: 12-27-2014, 12:58 PM -
Fsbus 2.4.3
By Anderson/SBSP in forum I/O Interfacing Hardware and SoftwareReplies: 9Last Post: 11-30-2008, 04:25 PM