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

Thread: OC assignments

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

    To be clear and avoid any misunderstanding the sioc.ini file only contains system information and parameters that can be changed by the user - not script files. As advised in an earlier post in a different thread, there is a line in sioc.ini that points to your script file. That file eg mytest.txt (or whatever you call it) must contain your battery switch code. If your sioc.ini file is not amended (directly or via config_devices) to point to your script file then it will not work

    I am not aware of any question from you in a previous thread remaining unanswered

  2. #12
    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: OC assignments

    Quote Originally Posted by gspannelljr View Post
    Perhaps a book on C++?
    Certainly not, C++ is 100 times more complex then SIOC. Even the programming language BASIC is more complex then SIOC.
    Just some basic knowledge of programming is required, such as IF THEN ELSE statements, Expressions, Variables, Subroutines, Integer and Boolean values.

    Nico

  3. #13
    75+ Posting Member



    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    86
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    I apologize if there was a misunderstanding. Where is the sioc.ini file located? I cant find it. all I can find is the following.a folder in program files for I/o cards, a sub folder sioc,a sub folder scripts, and then a whole lot of txt files below that folder. Please tell how to find it, then I can do exactly as you have described.

  4. #14
    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: OC assignments

    The sioc.ini file is in the SIOC folder.... (unless you have deleted it..., if so i'd recommend to reinstall sioc)

    Nico

  5. #15
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    899
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    On a normal sioc install. It should be under Program Files or Program Files(x86)/Iocards/Sioc then you should see a list of txt files and other files in Alphabetical order. So Sioc.ini should be
    way down the list.
    What operating system are you using.
    Les

  6. #16
    75+ Posting Member



    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    86
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    Well that's odd, I do not have a file labled sioc.ini. I do have one labled sioc.ini.bak. I tried to open it but my pc does not have the ablity to open a bac. file. So I figured my ini file was missing. I uninstalled, restarted my pc, then resinstalled. Now I don't even have the sioc.inii.bak file. I am using windows 7. I installed sioc v46b1 that I got from the oc website. Do I need to try an older version if any of you still have it?

  7. #17
    75+ Posting Member



    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    86
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    there is a tab on the console labled edit INI. Can I use that? I downloaded the iocards programing manual. None of the screen shots match what I see. I think I have a brand new version, that is different that the one you guys are using, that's why nothing is making sense. What do you think? If any of you have the older version, email it to me and Ill install it instead. gspannelljr@yahoo.com

  8. #18
    75+ Posting Member



    Join Date
    Mar 2011
    Location
    Oklahoma
    Posts
    86
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    Sorry for all the notes guys, but Im typing as I try stuff. Ok, I just made a lot of progress. I figured out how to take the script Les sent me and compile it into sioc. The compiler said it compiled ok. I checked the iocp console, both scripts showed up in positions one and two. When I grounded pin 16, they both changed states to ones. I then loaded FSX, Cessna 172. While triggering pin 16, nothing changes, battery, nothing. What did I miss? I feel I am so close!

  9. #19
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    899
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    Yes you can use Tab edit ini. That was added later to make your job easier.
    The sioc.ini.bak was your SIOC.ini backed up by some means. I am not sure what
    caused this to be backed up. A new install will generate a new sioc.ini.
    In win7 you may have to look at the description alongside the files called sioc to find the
    sioc.ini. Description should be Configuration.
    You wont see Sioc.ini if your operating system is not configured to read all files in Folders.
    Don't worry about that, it wont cause any harm.
    Just use the edit ini tab to make the needed changes to your file.
    Let us know hoe you go.
    Les
    P.S If you ever need to read a .bak file, just remove the .bak
    extension.

  10. #20
    500+ This must be a daytime job



    Join Date
    Jan 2007
    Location
    NEW ZEALAND
    Posts
    899
    Contribute If you enjoy reading the
    content here, click the below
    image to support MyCockpit site.
    Click Here To Contribute To Our Site

    Re: OC assignments

    Please ignore last post, looks like we crossed paths.
    Have you got FSUIPC loaded in FSX.
    Les

Page 2 of 4 FirstFirst 1234 LastLast