Results 21 to 30 of 90
Thread: SIOC "IF" Question
-
08-14-2010, 05:51 PM #21
- Join Date
- Jul 2013
- Posts
- 917
Re: SIOC "IF" Question
Jack
Sorry no idea
Why not just change your sioc.ini file to the new .txt file and see what happens. My sioc.ini file has at least 6 lines of potential .txt files - all bracketed out except the one I am using at that time
David
-
08-14-2010, 06:26 PM #22
Re: SIOC "IF" Question
Hiya David,
I tried that, and I got the exact same message, except this time BEFORE SIOC started up.
-
08-15-2010, 04:52 AM #23
- Join Date
- Jul 2013
- Posts
- 917
Re: SIOC "IF" Question
Jack
A long shot! Edit your sioc.txt to remove all // and comments plus any spaces on each line after the end of the code. Then try again, SIOC can be very funny about things especially // without any comments added. If no joy try the opencockpits forum to see if they know this one
David
-
08-15-2010, 07:29 AM #24
Re: SIOC "IF" Question
Hi Daiv,d
Unfortunately it's the exact same problem, same message. I wil ltry and contact Nico Kaan, maybe he will know?
-
08-15-2010, 07:43 AM #25
- Join Date
- Jul 2013
- Posts
- 917
Re: SIOC "IF" Question
Jack
I am wondering if this error arises because you are not running fsx or fsuipc and have no mastercard installed. Also, what do you mean by saying that you get this error before sioc runs in post #22?
David
-
08-15-2010, 09:10 AM #26
Re: SIOC "IF" Question
I mean that I double click SIOC, and I get the error, THEN the SIOC interface opens (ie error before SIOC).
It cannot surely be tha tno mastercard is installed, because you can still make scripts with or without IOCards (I have done in the past).
I wil ltry running FSX and FSUIPC.
-
08-15-2010, 09:50 AM #27
- Join Date
- Jul 2013
- Posts
- 917
Re: SIOC "IF" Question
Jack
If all else fails then re-install SIOC, but keeping a copy of your .ini file etc
David
-
08-15-2010, 10:23 AM #28
Re: SIOC "IF" Question
Hi David,
I re-installed SIOC but still the same error. I have contacted Opencockpits.
-
08-15-2010, 10:26 AM #29
- Join Date
- Apr 2009
- Location
- Toronto
- Posts
- 125
Re: SIOC "IF" Question
__________________________
-
08-15-2010, 10:47 AM #30
Re: SIOC "IF" Question
Hi Jack,
Well it's very easy to see what is wrong.
You made several mistakes with your opening and closing curly brackets (in 9888 first IF one closing bracket too many, and in 9881 two closing brackets too many...). Do remember that you have to match each open curly bracket with a closing curly bracket. This is SIOC for beginners ..
I have made some changes and now it compiles fine:
Code:Var 7675, name REF, Link IOCARD_OUT, Output 4 Var 7002, name OP, Link IOCARD_OUT, Output 5 Var 9888, Link FSUIPC_IN, Offset $C28D, Length 1 { L0 = V9888 // FSUIPC L0 = v9888 IF L0 < 3 // First sector { &REF = 1 } ELSE { &REF = 0 } } Var 9881, Link FSUIPC_IN, Offset $C28D, Length 1 { L0 = V9888 IF L0 >= 3 { &REF = 0 OR 1 &BlinkLed = 500000 &BlinkLed = TIMER 0 -1 40 } } Var 9077, name BlinkLed { L0 = MOD &BlinkLed 2 IF L0 = 0 { &REF = 0 } ELSE { &REF = 0 OR 1 } }
NicoLast edited by kiek; 08-15-2010 at 11:03 AM.
Similar Threads
-
"Inner Circle" HSI - SIOC DC Motors Card Script
By Boeing 747 Flyer in forum OpenCockpits General DiscussionReplies: 64Last Post: 04-21-2011, 10:59 AM -
Looking for "Below GS" and "Spoilers armed" annunciator light offset
By PeterH in forum PM General Q & AReplies: 17Last Post: 03-05-2008, 12:39 PM -
A question for "Bus Drivers"
By mpl330 in forum General Builder Questions All Aircraft TypesReplies: 2Last Post: 01-31-2008, 06:56 PM -
PM updates and a question for "proof of concept"
By pap in forum PM General Q & AReplies: 4Last Post: 01-27-2008, 06:22 AM
Search Pretty Girls from your town for night
JeeHell FMGS on a remote Computer