Page 2 of 2 FirstFirst 12
Results 11 to 14 of 14
  1. #11
    150+ Forum Groupie
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    201
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  2. #12
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    318
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  3. #13
    150+ Forum Groupie
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    201
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

  4. #14
    300+ Forum Addict
    Join Date
    Feb 2008
    Location
    Krefeld, Germany
    Posts
    318
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    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

Page 2 of 2 FirstFirst 12

Similar Threads

  1. FSBUS HELP
    By mondo50m in forum General Builder Questions All Aircraft Types
    Replies: 14
    Last Post: 10-31-2010, 03:53 PM
  2. Help with FSBUS DLL
    By Anderson/SBSP in forum I/O Interfacing and Hardware
    Replies: 9
    Last Post: 08-19-2009, 02:49 AM
  3. Fsbus 2.4.3
    By Anderson/SBSP in forum I/O Interfacing Hardware and Software
    Replies: 9
    Last Post: 11-30-2008, 04:25 PM
  4. FSBUS IO PCB HELP please
    By 388TH_A in forum I/O Interfacing Hardware and Software
    Replies: 1
    Last Post: 11-23-2008, 01:19 AM
  5. Anyone got fsbus 2.2?
    By mpl330 in forum I/O Interfacing Hardware and Software
    Replies: 8
    Last Post: 04-18-2007, 10:04 AM