Results 1 to 7 of 7

Thread: SIOC and FSUIPC

  1. #1
    New Member
    Join Date
    Feb 2009
    Location
    Nambour, Australia
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    SIOC and FSUIPC

    G'day all,

    I recently bought the OC MAstercard and USB expansion cards but can't programme SIOC for the life of me! I have managed to get controlador to recognise the inputs (four encoders connected to 1, 2, 10, 11, 12, 20, etc) but I want to use them to control two of the attached guages:



    The other two encoders will control the horizon bar on the standby AH and the bug on the RADALT (if I can get them to work!).

    I've programmed FSUIPC to recognise the key strokes for it that I've programmed using Key2Mouse (or at least I had until it dumped the file after it lost the registration key!).

    Please help - I've read over 200 pages on how SIOC works and I'm barely any the wiser! XP recognises the OC card(s) but there's nothing in the game controllers or FSUIPC.

    Thanks a lot!
    Attached Files Attached Files

  2. #2
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site


  3. Thanks Paul Thomas, Bell209 thanked for this post
  4. #3
    Boeing 777 Builder


    Kennair's Avatar
    Join Date
    Jan 2007
    Location
    Perth, Western Australia
    Posts
    728
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi Bell209,

    The OC manual really only starts to make sense after you've got a handle on SIOC and the Mastercard itself, which is a little pointless but never the less it's helpful to refer to from then on. There is help elsewhere such as Nico's website and I would highly recommend you read through Nico's explanation of the OC hardware and its configuration file settings in "sioc.ini".

    Windows doesn't see the Mastercard as a Game Controller so you won't see it there and FSUIPC doesn't need to know about SIOC, you just need to have FS running and SIOC will then detect FSUIPC as running. Start with simply code such as written by someone else that is known to work then try modifying so you can get a handle on how it works. It really is very logical but that's fine when you know how.

    I'm not sure what that text file was that you attached as it opens as an XML file. If you were trying to make SIOC to run with that file it will never work.

    Good luck,

    Ken.
    Opencockpits | Aerosim Solutions | Sim-Avionics | P3D | FDS | FTX | AS16 | PPL | Kennair


  5. Thanks Bell209 thanked for this post
  6. #4
    New Member
    Join Date
    Feb 2009
    Location
    Nambour, Australia
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Thanks Nico and Ken,

    The xml is an extract from the gauge; I've been using Mouse2Key to operate these knobs but they're not standard FS commands. If I use one of the unassigned FS commands listed in the FSUIPC documentation, can I then programme SIOC to operate that command?

    Thanks again,

    Rob

  7. #5
    Boeing 777 Builder


    Kennair's Avatar
    Join Date
    Jan 2007
    Location
    Perth, Western Australia
    Posts
    728
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Rob, if the Horizon Bar and the Radar Alt bug are not available externally via FS then it can't be done by SIOC/FSUPIC. You'd need to read through the FSUIPC documentation in the FSUIPC_SDK file you can download from Pete's site to see all that is available to you. SIOC simply allows more functionality of hardware events but if FS doesn't give access to a command (such as adjusting the Radar Alt Bug) then it can't do it. Your only option is to use Key2Mouse or FSUIPC's mousetrapping function to activate the control on screen.

    Nico or others might offer more technical support for you or an alternative but this is as I understand it.

    Ken.
    Opencockpits | Aerosim Solutions | Sim-Avionics | P3D | FDS | FTX | AS16 | PPL | Kennair


  8. #6
    500+ This must be a daytime job kiek's Avatar
    Join Date
    Jan 2007
    Location
    Netherlands
    Posts
    698
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Hi,
    An option might be to define a FSUIPC mouse trap for a gauge control function. This will be added to FSUIPC's FSControl list, and sending FSControl from SIOC is easy: http://www.lekseecon.nl/howto.html#fscontrol

    cheers,
    nico

  9. Thanks Bell209 thanked for this post
  10. #7
    New Member
    Join Date
    Feb 2009
    Location
    Nambour, Australia
    Posts
    3
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    That look like the answer, Nico - thanks very much!

Similar Threads

  1. SIOC not sending value correctly to FSUIPC
    By luica21 in forum I/O Interfacing and Hardware
    Replies: 0
    Last Post: 08-10-2010, 10:41 PM
  2. Calling a FSUIPC MACRO from SIOC
    By STF-DIR in forum OpenCockpits General Discussion
    Replies: 6
    Last Post: 07-14-2010, 01:55 PM
  3. FSUIPC and SIOC issues
    By remcosol in forum General Builder Questions All Aircraft Types
    Replies: 1
    Last Post: 03-05-2010, 04:04 AM
  4. FSUIPC/MACRO/Keysend with sioc
    By Georg Schneider in forum OpenCockpits General Discussion
    Replies: 12
    Last Post: 05-05-2008, 12:18 PM