Results 521 to 530 of 737
Thread: Progamming help with FSBus dll
-
12-16-2010, 08:16 AM #521
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
On friday we will program that gauge together, via Skype and maybe Teamviewer.
Stefan
-
12-16-2010, 02:02 PM #522
- Join Date
- Oct 2009
- Location
- Leesburg, Florida
- Posts
- 201
Re: Progamming help with FSBus dll
Thanks for the help guys, I am sure that once I get one running, it will be much easier to get the others. I now have the idea that for every object made you need to have a .cpp and a .h file to get it to work. Am I supposed to have windows.h somewhere? I do not seem to have it. Probably have to download the windows sdk for Vista? Little by little I will get this going. But not on my own.
Milt
-
12-16-2010, 02:52 PM #523
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
I now have the idea that for every object made you need to have a .cpp and a .h file to get it to work.
In your actual case i would prefer a gauge.cpp and .h file, that would contains all the different analog gauges, that you like to build.
Am I supposed to have windows.h somewhere?
Stefan
-
12-26-2010, 07:00 PM #524
- Join Date
- Oct 2009
- Location
- Leesburg, Florida
- Posts
- 201
Re: Progamming help with FSBus dll
I am moving along slowly. I am now working on my attitude qauge. I am wondering what does 'FLT64' mean in the FSUIPC var. type? I have the gauge responding, but only to the point that on the pitch, it moves all the way up when it passes the center line going up and all of the way down when it passes the centerline going down. I see nothing in the FSBUSDLL manual about FLT64. So, yes, I am one again confused. Any help please.
Milt
-
12-26-2010, 07:03 PM #525
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
It is called TP_I64 in FsBus.
-
12-26-2010, 08:01 PM #526
- Join Date
- Oct 2009
- Location
- Leesburg, Florida
- Posts
- 201
Re: Progamming help with FSBus dll
I put TP_I64 in the proper place and it is still doing the same thing, full travel up, or full travel down, depending an whether I am ascending or descending. Obviously, this servo gauge can not be programmed the same way as my oil pressure gauge is.
Milt
-
12-27-2010, 05:14 AM #527
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Can you show us, the make of the FSObject and the case?
-
12-27-2010, 10:00 AM #528
- Join Date
- Oct 2009
- Location
- Leesburg, Florida
- Posts
- 201
Re: Progamming help with FSBus dll
This is the FSBUS object as I have built it;
MkFsbusObject(BTP_A_OUT, S_ATTITUDEPITCH, "",EventHandler, 27, 86);
MkFsObject(FS_ATTITUDEPITCH, "", EventHandler, 0x2f70, 8, TP_I64, FS_normal);
This is the case;
switch(oid)
{
case FS_ATTITUDEPITCH:
static CALTAB ATTITUDEPITCH[] = {{0,106},{16384,164}};
FsbusWrite (S_ATTITUDEPITCH, Calibrate (val, ATTITUDEPITCH,2));
I know that I am doing something wrong, but am unable to figure it out.
-
12-27-2010, 05:01 PM #529
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Progamming help with FSBus dll
Do you look to the offset with FSInterrogate2std for the min, max, and Zero position value?
Also do one more data to the calltap for the Zero(middel) Position.
Stefan
-
12-28-2010, 10:54 AM #530
- Join Date
- Oct 2009
- Location
- Leesburg, Florida
- Posts
- 201
Re: Progamming help with FSBus dll
Got the offset from FSInterrogate and the min-max. Still did not work. I then used TP_DBL in place of the TP_I64 and it is now working. Took a few hours to figure out.
Milt
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
Explore Exciting Connections for a Night of Fun in Your City
Ready for an Unforgettable Night?...