je vous mets le script concernant l' UV26 ça peut servir à quelqu'un
This the SSI's Part of UV26
is there for 7-segments and light and buttons sequency and choice side
// *****************************************************************************
// * Config_SIOC ver 3.5 - By Manolo Vélez -
http://www.opencockpits.com
// *****************************************************************************
// * FileName : gg.txt
// * Date : 04/10/2010
Var 0100, name IniReUv26_LINK, Value 1 // INITIALISATION RETRO ECLAIRAGE
{
&RetroUV26_LED = &IniReUv26_LINK
}
Var 0101, name DigitDroitUv26, Value 0 // INIT DIGIT DROIT UV26
{
&DisplayDroitFl = &DisplayDroitFl
}
Var 0102, name DigitMidUv26, Value 1 // INIT DIGIT MILIEU UV26
{
&DisplayMidFlar = &DigitMidUv26
}
Var 0103, name DigitLeftUv26, Value 1 // INIT DIGIT GAUCHE UV26
{
&DisplayLeftFla = &DigitLeftUv26
}
Var 0498, name gauchUV26, Link IOCARD_SW, Input 240 // SWITCH UV26 FLARE GAUCHE
{
IF &gauchUV26 = 1
{
&uv26bordLNK = 1
}
IF &gauchUV26 = 0
{
&uv26bordLNK = 2
}
}
Var 0499, name DROITUV26, Link IOCARD_SW, Input 239 // SWITCH UV26 BORD DROIT
{
IF &DROITUV26 = 1
{
&uv26bordLNK = 3
}
IF &DROITUV26 = 0
{
IF &gauchUV26 = 0
{
&uv26bordLNK = 2
}
}
}
Var 0500, name uv26bordLNK // SWITCH CHOIX DU LARGAGE FLARES
Var 0592, name Uv26QP_SW, Link IOCARD_SW, Input 234 // SWITCH UV26 QUANTITé PROGRAMATION
Var 0593, name Uv26Seq_SW, Link IOCARD_SW, Input 238 // SWITCH UV26 SEQUENCE
{
IF &Uv26Seq_SW = 1
{
IF &DisplayLeftFla <= 8
{
&DisplayLeftFla = &DisplayLeftFla + 1
}
ELSE
{
&DisplayLeftFla = 0
}
}
}
Var 0594, name Uv26Leurres_SW, Link IOCARD_SW, Input 241 // SWITCH UV26 NBRE LEURRES
{
IF &Uv26Leurres_SW = 1
{
IF &DisplayMidFlar <= 7
{
&DisplayMidFlar = &DisplayMidFlar + 1
}
ELSE
{
&DisplayMidFlar = 1
}
}
}
Var 0595, name Uv26Delay_SW, Link IOCARD_SW, Input 235 // SWITCH UV26 DELAY
{
IF &Uv26Delay_SW = 1
{
IF &DisplayDroitFl <= 8
{
&DisplayDroitFl = &DisplayDroitFl + 1
}
ELSE
{
&DisplayDroitFl = 0
}
}
}
Var 0596, name Uv26Start_SW, Link IOCARD_SW, Input 237 // SWITCH UV26 START
Var 0597, name Uv26Reset_SW, Link IOCARD_SW, Input 243 // SWITCH UV26 RESET
{
IF &Uv26Reset_SW = 1
{
&DisplayDroitFl = 0
&DisplayLeftFla = 1
&DisplayMidFlar = 1
}
}
Var 0598, name Uv26Stop_SW, Link IOCARD_SW, Input 242 // SWITCH UV26 STOP
Var 0700, name UV26_larg_D, Link IOCARD_OUT, Output 31 // voyant UV26 largage droit
Var 0705, name UV26_larg_G, Link IOCARD_OUT, Output 32 // UV26 largage gauche
Var 0710, name UV26ret1, Link IOCARD_OUT, Output 33 // retro ecl UV26
Var 0715, name UV26_ret2, Link IOCARD_OUT, Output 34 // retro ecl UV26
Var 0720, name UV26_ret3, Link IOCARD_OUT, Output 35 // retro ecl UV26
Var 0725, name UV26_ret4, Link IOCARD_OUT, Output 36 // retro ecl UV26
Var 0730, name UV26_ret5, Link IOCARD_OUT, Output 37 // retro ecl UV26 voyant VERT
Var 0735, name UV26_ret6, Link IOCARD_OUT, Output 38 // retro ecl UV26 Voyant ROUGE
Var 0930, name fus_on, Link IOCARD_SW, Input 262 // inter de fusées
Var 0931, name fus_1, Link IOCARD_SW, Input 252 // inter fusée 1
Var 0932, name fus_2, Link IOCARD_SW, Input 259 // inter fusée 2
Var 0933, name fus_3, Link IOCARD_SW, Input 258 // inter fusée 3
Var 0934, name fus_4, Link IOCARD_SW, Input 257 // inter fusée 4
Var 1030, name uv26power, Link IOCARD_SW, Input 255 // SWITCH UV267POWER ON/OFF
Var 1033, name CA5VHF2, Link IOCARD_SW, Input 13 // SELECTOR UV26 CA5VHF2
{
IF &CA5VHF2 = 1
{
&spuselect_LNK = 1
}
}
Var 1076, name DisplayDroitFl, Link IOCARD_DISPLAY, Digit 194, Numbers 1 // AFFICHEUR DROIT UV26
Var 1077, name DisplayMidFlar, Link IOCARD_DISPLAY, Digit 193, Numbers 1 // AFFICHEUR MILIEU UV26
Var 1078, name DisplayLeftFla, Link IOCARD_DISPLAY, Digit 192, Numbers 1 // AFFICHEUR GAUCHE UV26