Page 3 of 4 FirstFirst 1234 LastLast
Results 21 to 30 of 38

Thread: SIOC Problems

  1. #21
    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 Hessel,

    As previously mentioned I personally do not understand the whole nature of the Opencockpits Manuals, and thus could not deduce what to write.

    As I also wrote in the other page, Nico's site is a BIG help to me but I still need a bit of extra assistance to get things working - That's just how I am I'm afraid, and I can't help that until I get tha hang of SIOC.

    I also said that I have read through most of the Opencockpits documentation that I could find, including two presentations.

    I would not post here if I knew how to do it beforehand.

    Thanks,

    Jack =)

  2. #22
    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

    Jack,

    As mentioned before, on the HOW TO page it is written to the last digit ...

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

    Var 1 Link FSUIPC_IN Offset $0BC8 Length 2 // parking brake state
    {
    IF v1 = 0
    {
    v2 = 0
    }
    ELSE
    {
    v2 = 1
    }
    }

    Var 2 Link IOCARD_OUT Output 91 // led indicating parking brake set
    This is *exactly* you were asking, isn't it ?

    H.
    767 Level-D

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

    Oh dear... Another problem.

    What is wrong with the following script:

    Code:
    Var 9000 Link IOCARD_SW Input 12 Type P
    {
    v9001 = V9000
    }
    Var 9001 Link FSUIPC_OUT Offset $07BC Length 4
    
    Var 1 Link FSUIPC_IN Offset $07BC, Length 4 // AP MASTER STATE
     {
       IF v1 = 0
       {
         v2 = 0
       }
       ELSE
       {
         v2 = 1
       }
     }
    
     Var 2 Link IOCARD_OUT Output 23 // AP MASTER LED
    And SIOC.ini:

    Code:
    [SIOC]
    IOCP_port=8092
    IOCP_timeout=4000
    Minimized=Yes
    toggle_delay=20
    CONFIG_FILE=LEDtest.ssi
    
    [IOCARDS MODULE]
    IOCard_disable=No
    IOCard_LPT=No
    
    [MASTERS]
    MASTER=0,11,1,69
    
    [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
    And SIOC Interface screen:



    The SIOC file I'm running is obviously LEDtest.ssi

    After consulting the SIOC manual I'm still lost, I must've missed something.

    Thanks alot, forgive my (potential) ignorance,

    Jack

  4. #24
    75+ Posting Member
    Join Date
    Apr 2009
    Location
    Toronto
    Posts
    125
    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,

    you've got two definitions for the same FSUIPC offset $7BC: one a FSUIPC_IN link and the other a FSUIPC_OUT link. Change one to FSUIPC_INOUT and delete the other.

    FSUIPC_INOUT is not well documented by OC but it is in SIOC tutorial 1

    Jim

  5. #25
    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,
    Are you sure that at output 23 there is a led?
    Nico
    P.S. we should re-phrase the topic of this thread: it is not about problems in or with SIOC but about learning SIOC

  6. #26
    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

    Quote Originally Posted by deering View Post
    you've got two definitions for the same FSUIPC offset $7BC: one a FSUIPC_IN link and the other a FSUIPC_OUT link. Change one to FSUIPC_INOUT and delete the other.
    Athough Jim is right I do not think that this is the problem. It is perfectly allright to have as well an FSUIPC_IN as a FSUIPC_OUT variable to the same offset in one script.

  7. #27
    75+ Posting Member
    Join Date
    Apr 2009
    Location
    Toronto
    Posts
    125
    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

    Right again, Nico.

    Thx

  8. #28
    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,

    Yes there is an Output on LED 23.

    I think the problem moreover is that the AP MASTER Switch does not come on at all in-sim.

  9. #29
    Our new friend needs to reach 10 posts to get to the next flight level



    Join Date
    Jan 2007
    Location
    Oslo - Norway
    Posts
    8
    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 all!

    May I jump in with another SIOC question:

    When starting Controlador.exe, an error message about IO.DLL pops up. It says 'Unable to start the IO.SYS service. Error code = 1275'.

    Clicking OK to accept the info, closes the error message and opens Controlador application which works just fine, as does SIOC.EXE!

    Anyone understanding the implication of this error?

    Volante

  10. #30
    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

    Hello everyone,

    Just wondering has anyone managed to figure out wh ythat SIOC script doesn't work, the push button isn't even detected by the AP Switch.

Page 3 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