Results 11 to 14 of 14
Thread: Help with FSbus C++ software
-
02-03-2010, 11:36 AM #11
- Join Date
- Jan 2007
- Location
- Netherlands
- Posts
- 201
Re: Help with FSbus C++ software
Hi Stefan,
Thanks again.
I have a question about this:
I use that Style FS_Objekt, Output_Bit0, Output_Bit1, Output_Bit2,.... and so on. Importend is that you have to fill every "line" of the array complet.
I have some offsets who are using 3 bits and other who are using 8 bits.
How to handle these in te array?
Best regards
Jan Geurtsen
-
02-03-2010, 12:53 PM #12
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Help with FSbus C++ software
HI,
in FSUIPC that offset has also 8 bit, but only 3 Bit will be used.
In that case i had make the array line like that
FS_Objekt, Output_Bit0, Output_Bit1, Output_Bit2,Non,Non,Non,Non,Non
With Objects.
{FS_OHLED1,CO_FUEL_PUMP_LEFT_FWD,CO_FUEL_PUMP_LEFT_AFT,CO_FUEL_PUMP_CENTRE_LEFT_LIGHT,CO_non,CO_non,CO_non,CO_non,CO_non,},
the make of my CO-non:
MkFsbusObject (BTP_D_OUT, CO_non,"",EventHandler, 50, 0);
Stefan
-
02-03-2010, 02:46 PM #13
- Join Date
- Jan 2007
- Location
- Netherlands
- Posts
- 201
Re: Help with FSbus C++ software
Hi Stefan,
Ok ,I've done that.
But now I'm getting error messages with i.e:
g:\fsbus2jan\rvdb737ng\tsr.cpp(4) : error C2065: 'CO_non' : undeclared identifier
g:\fsbus2jan\rvdb737ng\tsr.cpp(5) : error C2065: 'FS_FlapIndicators' : undeclared identifier
g:\fsbus2jan\rvdb737ng\tsr.cpp(5) : error C2065: 'CO_SpoilerArmed' : undeclared identifier
I think I missed your point with the FS_object ( couldn't find this in the doc's provided)
How does this work and muss this in the cpp file?
Best regards
Jan Geurtsen
-
02-03-2010, 03:03 PM #14
- Join Date
- Feb 2008
- Location
- Krefeld, Germany
- Posts
- 318
Re: Help with FSbus C++ software
The errors are not declared objects in the H file. That is that with the enum.
The FS_object is only a discription.
My array has a wide of 9 "fields". The first one is the FS Objekt (FSUIPC Object), followed by his bits. For the Bits, i write the destination FSBUS Object (LED).
That all is more stuff than written in the FSBUS Docu, you can find that in a C/C++ book.
I will send you my 2 files by EMail.
Stefan
Similar Threads
-
FSBUS HELP
By mondo50m in forum General Builder Questions All Aircraft TypesReplies: 14Last Post: 10-31-2010, 03:53 PM -
Help with FSBUS DLL
By Anderson/SBSP in forum I/O Interfacing and HardwareReplies: 9Last Post: 08-19-2009, 02:49 AM -
Fsbus 2.4.3
By Anderson/SBSP in forum I/O Interfacing Hardware and SoftwareReplies: 9Last Post: 11-30-2008, 04:25 PM -
FSBUS IO PCB HELP please
By 388TH_A in forum I/O Interfacing Hardware and SoftwareReplies: 1Last Post: 11-23-2008, 01:19 AM -
Anyone got fsbus 2.2?
By mpl330 in forum I/O Interfacing Hardware and SoftwareReplies: 8Last Post: 04-18-2007, 10:04 AM
Search Pretty Girls from your town for night
JeeHell FMGS on a remote Computer