Results 11 to 20 of 37
Thread: OC assignments
-
03-06-2014, 01:43 PM #11
- Join Date
- Jul 2013
- Posts
- 917
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
-
03-06-2014, 01:49 PM #12
Re: OC assignments
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
-
03-06-2014, 02:31 PM #13
- Join Date
- Mar 2011
- Location
- Oklahoma
- Posts
- 86
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.
-
03-06-2014, 02:54 PM #14
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
-
03-06-2014, 04:04 PM #15
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
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
-
03-06-2014, 07:14 PM #16
- Join Date
- Mar 2011
- Location
- Oklahoma
- Posts
- 86
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?
-
03-06-2014, 07:27 PM #17
- Join Date
- Mar 2011
- Location
- Oklahoma
- Posts
- 86
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
-
03-06-2014, 08:28 PM #18
- Join Date
- Mar 2011
- Location
- Oklahoma
- Posts
- 86
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!
-
03-06-2014, 08:30 PM #19
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
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.
-
03-06-2014, 08:48 PM #20
- Join Date
- Jan 2007
- Location
- NEW ZEALAND
- Posts
- 899
Re: OC assignments
Please ignore last post, looks like we crossed paths.
Have you got FSUIPC loaded in FSX.
Les
Search Prettys Womans from your city for night
5.Sharing an Essay about PIC16F877