Results 1 to 6 of 6
  1. #1
    150+ Forum Groupie verticallimit's Avatar
    Join Date
    Apr 2009
    Location
    Denmark, Sinding
    Posts
    212
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Unhappy Read sioc server offset

    I'm trying to get data out of the SIOC server program with sioc.exe. for light an LED
    But it will not succeed.
    I use Open Cockpit USB and the Mastercard
    SIOC offset 2810, can be read without any problems by Gauges Composer.
    I can read from FSUIPC.

    What am I doing wrong.


    Var 0000, Value 0 // Initializing
    {

    }

    var 0001, Link IOCP, Offset 2810 // wing logo lights
    {
    IF v1 = 100
    {
    V2 = 1
    }
    IF v1 < 100
    {
    V2 = 0
    }
    }
    Var 0002, Link IOCARD_OUT, Output 12 // Test led 2


    Please some help neded
    Sincerely,

    Claus


  2. #2
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Read sioc server offset

    Claus

    On the following assumptions:-

    FSUIPC has the variable you need
    The offset value you have given is in hex
    The FSUIPC offset length is one byte

    Then try this line

    var 0001, Link FSUIPC_IN , Offset $2810 Length 1 // wing logo lights

    David

  3. #3
    150+ Forum Groupie verticallimit's Avatar
    Join Date
    Apr 2009
    Location
    Denmark, Sinding
    Posts
    212
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Read sioc server offset

    Hi David
    These offsets are retrieved from the Leonardo Maddog, and these data can not be retrieved with FSUIPC.
    We are currently testing new software which is made by Juan Ascanio from Open Cockpit.
    It is also as Juan has made the program SIOCServer.
    The great thing about this new software is that it can retrieve data via the virtual cockpit.
    Everything is in the first phase. but looks promising for all sim builders.

    But I've having problems with getting in contact with SIOCServer and retrieve those offsets. Everything else works.

    _______________________________
    http://www.md80project.dk
    Sincerely,

    Claus


  4. #4
    500+ This must be a daytime job



    Join Date
    Jul 2013
    Posts
    917
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: Read sioc server offset

    Claus

    Ok, good luck. I had assumed that the IOCP command syntax would be the same as FSUIPC_INOUT

    David

  5. #5
    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: Read sioc server offset

    Hello Claus.

    On the SIOC main panel, does Client Module #0 show the correct IP address and Port for the other server and is the client module enabled? Is it connected to the other server?

    Jim

  6. #6
    150+ Forum Groupie verticallimit's Avatar
    Join Date
    Apr 2009
    Location
    Denmark, Sinding
    Posts
    212
    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 Re: Read sioc server offset

    Hello Jim

    Thanks a lot.
    The siocserver whas set to "disconnected" in the ini file.
    It is newer to late to learn.

    _______________________
    http://www.md80project.dk
    Sincerely,

    Claus


Similar Threads

  1. Throttle offset in SIOC not working with FSUIPC
    By twisted8 in forum I/O Interfacing and Hardware
    Replies: 3
    Last Post: 03-23-2011, 11:12 PM
  2. DA...ALL I HAD TO DO IS READ THE TABS!!!
    By brother777 in forum Welcome to MyCockpit New here? Introduce Yourself!
    Replies: 1
    Last Post: 03-21-2011, 01:57 PM
  3. SIOC server and clients
    By nax228 in forum OpenCockpits General Discussion
    Replies: 7
    Last Post: 02-15-2011, 10:03 AM
  4. Change SIOC server address?
    By nax228 in forum I/O Interfacing and Hardware
    Replies: 2
    Last Post: 01-03-2011, 05:54 AM
  5. Level D 767 pit or OTHER?? Read and see what I mean.
    By shearder in forum General Builder Questions All Aircraft Types
    Replies: 2
    Last Post: 02-21-2010, 03:09 AM

Tags for this Thread