Results 1 to 7 of 7
  1. #1
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    Schorndorf/Germany
    Posts
    53
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thumbs up Tutorial to connect OC-MCP/EFIS with OGS1.20 and FS2004

    Hello to all Cockpitbuilders around the world!

    Now is the time to do something for the community from my site!

    Many people here in the forum have helped me understanding
    sioc a bit more!

    So i decided to write a hopefully helpfull tutorial to connect the

    Opencockpits Modules (MCP/2x EFIS) with the great freeware
    Glass Cockpit software "OGS 1.20" from "Cockpitware.com"
    and FS2004.

    The last week i had a big struggle with this and "kiek(Nick)" and
    Norbert helped me a heck out of it

    The tutorial describes everything you need and how to setup everything!
    In the .zip file which you can download in the tutorial downloadsection.


    i encluded the tutorial in .doc(word97/2003 format)
    my ogs.ini file as reference and my sioc.ini file as reference.
    And the sioc script to run OC-MCP/2xEFIS) with OGS1.20

    I`ve rewritten the original efis script provided in the OGS1.20 download
    to match the Captain/FO EFIS you can buy at Opencockpits shop.
    Ive merged the FS2004AP script provided in the sioc download
    with my rewritten efis script.

    Everything is tested in my cockpit with the original OC-MCP/2xEFIS
    from Opencockpits.
    All functions work so far OGS1.20 is cabable to.

    Ive made some compromisses to functionality but this is described in
    the tutorial.

    The provided script is fully plug`n play with the OC-modules!
    You only have to adjust ogs.ini/sioc.ini and you are ready to run

    I`ve checked everything a view times and if you find any mistakes
    please contact me.

    To get running the OC-MCP and OC-captain/FO EFIS is needed.
    Also OGS1.20 from http://cockpitware.com
    and SIOC 3.50 with update 3.52b from http://www.opencockpits.de

    For those guys who have problems to get network connection with
    IOCP-server/client please read the tutorial and i hope things
    work out well

    I hope my work can help someone(especially the beginners) as much
    i get helped here in the forum!

    Greetings and happy flying

    George

    The provided downloadlink will be actice till file is accepted in the download section!
    Then it will be removed here due limited download traffice.
    Last edited by Georg Schneider; 04-30-2008 at 05:41 PM. Reason: ad remark to remove downloadlink after accepted in download section

  2. Thanks kalz, Kennair, Matt Olieman thanked for this post
  3. #2
    2000+ Poster - Never Leaves the Sim Trevor Hale's Avatar
    Join Date
    Nov 2005
    Location
    Ontario, Canada
    Posts
    2,432
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thanks George. If you would like, please upload that file into the Download Library. That way you don't use up all your bandwidth.

    Trev
    ________________________
    Trevor Hale

  4. #3
    1000+ Poster - Fantastic Contributor Bob Reed's Avatar
    Join Date
    Oct 2005
    Location
    Holley, New York U.S.A.
    Posts
    1,880
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    George.. Thank you VERY much! Yes we need to get this in the download area....
    Bob Reed

  5. #4
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    Schorndorf/Germany
    Posts
    53
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Bob and Trev !

    Thanks for the quick reply !

    Please give me your reply to my tutorial and some advice to make
    it even better in next version

    Hope it helps many people!
    Will upload it in the download section!

    Greetings George

  6. #5
    1000+ Poster - Fantastic Contributor Bob Reed's Avatar
    Join Date
    Oct 2005
    Location
    Holley, New York U.S.A.
    Posts
    1,880
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Quote Originally Posted by Georg Schneider View Post
    Hi Bob and Trev !

    Thanks for the quick reply !

    Please give me your reply to my tutorial and some advice to make
    it even better in next version

    Hope it helps many people!
    Will upload it in the download section!

    Greetings George
    I will have a look at it tonight or tomorrow morning and let you know IF there is anything I feel needs to be changed.. I have a feeling it will be just fine.
    Bob Reed

  7. #6
    75+ Posting Member
    Join Date
    Aug 2008
    Location
    Istanbul
    Posts
    89
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Georg,

    First of all thanks for the tutorial and the very neatly designed ssi file. As far as I understand when I looked at your file you used a variable called CPTflags. Whenever a state changes you have also used a lot of SETBIT and CHANGEBIT commands. However I did not see any connection from this program to tell the SIM to change the ND range and/or mode as CPTFlags only changes the bit state of the variable and do not tell enything to the simulator. At least this is as far as I went. I know I am missing something here. Is this a special variable used by lets say OGS sending a command to the simulator?

    When I use the IOCP log I see that the bit states are changing but the SIM does not do anything.

    I will appreciate if you can clarify this.

    Best Regards,

    P.S. If what I am thinking is true and you used macros can you pls send the fsuipc.ini file so I can understand how u named them and compare with your code?

    Barkay
    Last edited by barkay; 08-06-2008 at 01:20 PM. Reason: additional request

  8. #7
    25+ Posting Member
    Join Date
    Aug 2007
    Location
    Schorndorf/Germany
    Posts
    53
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Barkay !

    First of all thanks for your compliment
    It took me some weeks to get the glue by myself with SIOC and OGS120.

    So dont worry if something is unclear when you first start with SIOC and OGS.
    I was reading OGS manual about 100 times to understand it.

    OGS uses the IOCP client driver (IOCP variables) the OGS variables
    are programmed into IOCP and must be below variable 1195.

    The description of the used variables is at the end of OGS120 manual.

    At the beginning of the SIOC script you define a base Var from where
    your sioc script starts.
    Also this base var must be defined in OGS.ini.

    When you read the ogs manual you will see that every function has
    its own numbers like
    BIT NUMBER 3 for the 40NM position set on range selector

    In the SIOC script 40NM switch is switched on with setbit=3
    and switched off with clearbit=3

    The CPTFLAGS and FOFLAGS are used to differ the captain and FO side.

    When you look at the beginning of the SIOC script you see the inizialisation of the FLAGS.

    CAPTAINFLAGS = base var(500+0) >>>>> 500

    FOFLAGS = base var(500+1)>>>>>>>>>>501

    You also need to look deeper in SIOC and IOCP manuals because
    everything to descripe here in the forum will take me some weeks typing

    The IOCP protokoll is similar to the FSUIPC protokoll from GENIUS
    "PETER DAWSON".

    SO !!! OGS120 talks to the FLIGHTSIM over the IOCP protokoll.

    And the thing with macros with fsuipc is that i do not use em because
    its right now not usefull for me.

    I use now no more PMDG where you need the macros to achieve full
    functionality.
    I switched over as BETA TESTER to FLIGHTDECKSOFTWARE
    which is similar to Projekt Magenta.
    But a lot easyer to get everything running.

    In my 737-800 pit now 5 PC`s are running for testing everything.
    But the new Flightdecksoftware from Bart Devriendt is capable to run
    Captain side and EICAS,MCP,CDU from one PC and FOside with IOCARDS
    from OPENCOCKPITS and SIOC from second PC.

    To run everything smoothly you normaly need a good FS9/FSX PC and one
    good PC (CoreDUO 2,2GHZ and 2gig Ram and Geforce 8500-8600 with 512MB RAM)
    And the third PC for the FOside you only need an Celeron with 1,6GHZ and
    1GB Ram.

    If you want to do yourself a favour leave the PMDG behind and start with
    a good flightdecksoftware.

    PMDG is great for only desctop computing but not for a real cockpit sim.

    I hope i helped you a bit with some explanations!?

    And read the manuals more and more times and try to get into SIOC
    programming yourself and start with little testscripts for only one switch or so to see how all works.

    And feel free to ask again you`re welcome !

    With kind regards

    George from Germany

Similar Threads

  1. Tutorial for fs2004 on multiple computers?
    By orwell84 in forum Computer Hardware Setup
    Replies: 8
    Last Post: 02-13-2011, 08:11 PM
  2. How to connect 3 Monitors
    By Conor875 in forum Where to Start Building a Home Cockpit
    Replies: 5
    Last Post: 05-24-2010, 07:25 PM
  3. Connect issues
    By warvet in forum MyCockpit Crew Rest (Off topic chat forum)
    Replies: 6
    Last Post: 06-17-2009, 08:24 PM
  4. connect tow joys
    By mag in forum Microsoft Windows XP
    Replies: 0
    Last Post: 05-11-2009, 05:36 AM
  5. Cant connect WideFS in one PC.
    By Randy Eskow in forum PM General Q & A
    Replies: 4
    Last Post: 07-14-2007, 01:52 PM