Code:
// *****************************************************************************
// * Config_SIOC ver 3.7B1 - By Manolo Vélez - www.opencockpits.com
// *****************************************************************************
// * FileName : Weather Radar System.txt
// * Date : 14/08/2010
Var 7675, name REF, Link IOCARD_OUT, Output 4 // REF LED
Var 7002, name OP, Link IOCARD_OUT, Output 5 // OP LED
Var 9888, Link FSUIPC_IN, Offset $C28D, Length 1 // Cloud Precipitation Rate (1)
{
L0 = V9888 // FSUIPC L0 = v9888
IF L0 < 3 // First sector
{
&REF = 1
}
}
ELSE // Otherwise
{
&REF = 0 // Off
}
Var 9881, Link FSUIPC_IN, Offset $C28D, Length 1 // Cloud Precipitation Rate (1)
{
L0 = V9888 // FSUIPC L0 = v9888
IF L0 >= 3 // First sector
{
&REF = 0 OR 1
&BlinkLed = 500000 // begin value of timer
&BlinkLed = TIMER 0 -1 40
}
}
}
}
Var 9077, name BlinkLed
{
L0 = MOD &BlinkLed 2
IF L0 = 0
{
&REF = 0
}
ELSE
{
&REF = 0 OR 1
}
}
This problem is very annoying. I've tried renaming the txt file, making other copies of it in a different name (you can even see "yy.txt" file in background, this is a clone), stil lno luck. FSX/FSUIPC is not running, and the txt file I'm acessing is NOT open at the time of compiling. Any ideas?