Results 1 to 5 of 5
  1. #1
    10+ Posting Member
    Join Date
    Jan 2014
    Location
    México
    Posts
    22
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Heading read offset

    hi!!

    i´m having issues for reading heading like that:

    Heading=ipc.readUW(0x73c3)
    Heading=Heading+1
    ipc.writeUB(0x73CC,2)
    ipc.writeUW(0x73CD,Heading)

    I´m using a rotary encoder but when i read the vuale of heading the refresh rate on fcu interface of jeehell it slows down. any ideas?? thanks

  2. #2
    2000+ Poster - Never Leaves the Sim
    Join Date
    Mar 2008
    Location
    France,Nice
    Posts
    2,652
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Heading read offset

    Hi,

    FSUIPC offsets are not very efficient for the encoders, as there is a big delay in the FSUIPC interface (up to 75/100ms), which IS noticeable. I left FSUIPC offsets only because it is the legacy interface for FS hardware, and it has been the best addon ever invented. But now, it is a bit outdated (considering the simconnect interface).

    What hardware do you use? Can't you interface using IOCP?

    JL

  3. #3
    10+ Posting Member
    Join Date
    Jan 2014
    Location
    México
    Posts
    22
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Heading read offset

    hi JL!

    Thanks for answer i'm using arduino cards to send instructions to lua script.

    I found the way to connect arduino card to IOCP server with a python script I can see in the localhost:8080 of IOCP, the arduino as This server have 1 clients conected with 1 offsets.
    Client nº 1


    but now how can i made variables from offset or i have to interrogate IOCP directly with offset?? thanks

  4. #4
    2000+ Poster - Never Leaves the Sim
    Join Date
    Mar 2008
    Location
    France,Nice
    Posts
    2,652
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Heading read offset

    Hi,

    During installation of my software, you have the choice to install "SIOC support" option. Select that, and in the folder "harware module" you'll get an application called SIOC Creator. You can use it to create a SIOC script with all I/O necessary.
    Have SIOC.exe run this script, and your python script connect to the SIOC IOCP server.

    You'll then have to retrieve the outputs variables to drive your LEDs/displays, and send your inputs to the SIOC server so my software can read them.

    Regards,
    JL

  5. #5
    10+ Posting Member
    Join Date
    Jan 2014
    Location
    México
    Posts
    22
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Heading read offset

    thanks for your help!!

    excuseme where can i found the manual for SIOC_Creator thanks!