Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 38

Thread: SIOC Problems

  1. #11
    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

    Re: SIOC Problems

    Just to test a SIOC script I recommend you try the Lights offset. Most aircraft support that. http://www.lekseecon.nl/howto.html#example1

  2. #12
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC Problems

    Hi Nico,

    Still no luck. In fact, I used the Type I ON/OFF Switch (Input 7) on the Transponder to keep things simple, so that I wouldn't have to alter the script at all.

    Still nothing happens. I even switched aircraft to the Default Cessna and still the Landing Lights Switch is dead. The TESTs.ssi script that I'm using compiles fine and runs okay, the SIOC interface detects FSX and FSUIPC, everything looks okay...

    This is a very strange problem is it not?

    EDIT: The SIOC.ini file looks suspicious... Take a look:

    Code:
    [SIOC]
    IOCP_port=8092
    IOCP_timeout=4000
    Minimized=Yes
    toggle_delay=20
    CONFIG_FILE=TESTs.ssi
    
    [IOCARDS MODULE]
    IOCard_disable=No
    IOCard_LPT=No
    
    [MASTERS]
    
    [USBKEYS]
    USBKeys=0,67
    
    
    [FSUIPC MODULE]
    FSUipcdisable=No
    
    [IOCP CLIENTS MODULES]
    IOCPini_delay=3000
    IOCPclient0_disable=Yes
    IOCPclient0_host=localhost
    IOCPclient0_port=8090
    IOCPclient1_disable=Yes
    IOCPclient1_host=localhost
    IOCPclient1_port=8099
    
    [SOUND MODULE]
    Sound_disable=Yes
    Volume=100
    If you notice, all the Modules are Disabled=Yes... That is wh yI asked earlier, as I have not personally disabled any of these myself, I wonder if SIOC does it by default or something?

  3. #13
    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

    Re: SIOC Problems

    Again, SIOC does nothing by default or something. It is YOU who has to set the definitions in sioc.ini right.

    Your sioc.ini is not right.
    At first sight:
    * You miss the FSUIPC refresh statement
    * the USBKEYS section should not be present now because you are not using the USBKeys module
    * instead you should add the ATC module in the MASTERS section

    I have no time now to help you further. Please study the documentation and do not hop from one topic to another.

    regards,
    Nico

  4. #14
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC Problems

    I have studied the documentation many times, and I still do not understand it. I learn through participation and exercises. I have invested many, many, many hours trying to learn SIOC and it is not easy for me.

    I will have a go at adding "ATC" under the Masters section, I still don't understand what to add exactly (ATC, MODULE_ATC) but I guess I'll just have to trial and error it out.

    " do not hop from one topic to another"

    I did not want to hop from one to another, but you said to end the previous discussion so I thought I'd start a new one in its place.

    "You miss the FSUIPC refresh statement"

    Again, I would love to know what this is. The SIOC documentation is confusing is some aspects. From which manual or guide did you get this information? One of the SIOC tutorials cannot be downloaded from the O/C website, as it is a dead link.

  5. #15
    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

    Re: SIOC Problems

    Jack,

    Your sioc.ini should be this:

    Code:
    [SIOC]
    IOCP_port=8092
    IOCP_timeout=4000
    Minimized=Yes
    toggle_delay=20
    CONFIG_FILE=TESTs.ssi
    
    [IOCARDS MODULE]
    IOCard_disable=No
    IOCard_LPT=No
    
    [MASTERS]
    MASTER=0,11,1,67
    
    [FSUIPC MODULE]
    FSUipcdisable=No
    FSUipcRefresh=50
    
    [IOCP CLIENTS MODULES]
    IOCPini_delay=3000
    IOCPclient0_disable=Yes
    IOCPclient0_host=localhost
    IOCPclient0_port=8090
    IOCPclient1_disable=Yes
    IOCPclient1_host=localhost
    IOCPclient1_port=8099
    
    [SOUND MODULE]
    Sound_disable=Yes
    Volume=100
    Note:
    MASTER 0,11,1,67 means:
    Logical Device 0 is an ATC module (code 11), it has 1 Master Card (not relevant for a ATC module) and in your system its IDX is 67.

    FSUipcRefresh=50 means that every 50 msec SIOC will read/write to FSUIPC offsets (so 20 times per second)

    The USBKEYS section is not needed because you are not using a USBKey card in this test.

    Try again...

    Nico
    Last edited by kiek; 06-24-2010 at 04:20 AM.

  6. #16
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC Problems

    Thanks Nico!

    All is working perfectly now, I managed to get the IDENT working with the A/P MASTER Switch, and then I made a further SIOC entry to control the HDG button with the XPNDR select.

  7. #17
    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

    Re: SIOC Problems

    Good to hear Jack! Eventually you will become a SIOC Master

  8. #18
    500+ This must be a daytime job Boeing 747 Flyer's Avatar
    Join Date
    Nov 2009
    Location
    England
    Posts
    635
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC Problems

    Quote Originally Posted by kiek View Post
    Good to hear Jack! Eventually you will become a SIOC Master
    Thanks very much Nico! I can only hope that I do!

    Also, how are LEDs controlled by FSUIPC Offsets? I assume that they are controlled by something like, for example:

    - If AP MASTER is ON, then LED23=1... etc

    I must learn how to write that. I looked on your site and found the LED section, but couldn't find the reference to the FSUIPC within it.

  9. #19
    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

    Re: SIOC Problems

    Here an example from my site, a led connected to the FSUIPC offset for the state of the parking brake:

    http://www.lekseecon.nl/howto.html#readFSUIPC

  10. #20
    150+ Forum Groupie
    Join Date
    Sep 2006
    Location
    Netherlands
    Posts
    165
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: SIOC Problems

    Quote Originally Posted by Boeing 747 Flyer View Post

    Also, how are LEDs controlled by FSUIPC Offsets? I assume that they are controlled by something like, for example:

    - If AP MASTER is ON, then LED23=1... etc
    Jack,

    Really, really, surprised that you ask this.

    We are obliged not to take time from others here, if it's not nesessary i.m.h.o.

    It's ***ALL*** in the Opencockpits documentation !

    AND

    It's all on ***Nico's "HOW TO"*** page !

    http://www.lekseecon.nl/howto.html#readFSUIPC

    Hessel
    767 Level-D

Page 2 of 4 FirstFirst 1234 LastLast

Similar Threads

  1. USB LCD Sioc Problems
    By iwik in forum OpenCockpits General Discussion
    Replies: 0
    Last Post: 02-27-2009, 04:09 AM
  2. Potential buyer: VNAV problems, A/P problems?
    By 737aqua in forum PM General Q & A
    Replies: 13
    Last Post: 04-26-2008, 09:21 PM
  3. Problems with SIOC code for PM MCP-737Ng
    By Oter3 in forum I/O Interfacing Hardware and Software
    Replies: 6
    Last Post: 09-24-2007, 05:18 PM
  4. Log-in Problems and others
    By Michael Carter in forum General Builder Questions All Aircraft Types
    Replies: 11
    Last Post: 08-26-2007, 11:18 AM
  5. Problems with 4.13
    By Jan Pemöller in forum FS2Phidget Users
    Replies: 3
    Last Post: 12-19-2006, 04:25 PM