Jump to content

cockpit Gillesdrone


gillesdrone

Recommended Posts

LED outputs

 

How are these guys getting the game to output LEDs?

ACPI x86 based PC, Windows 7 64Bit, AMD Phenom IIX4 965 3.4GHZ, NVIDIA GTX 560, 8 GB RAM, 1 32" primary monitor, Track IR, Saitek pedals, custom cyclic with CH Pro base, custom collective, both using BUO836X cards

Link to comment
Share on other sites

  • 1 month later...

Grace to Thebest28 and Oakes, I was finally able to program the 7 segments of the UV26 and of Status armament

 

For the UV26 it is about a mixed routine Sioc and BS grace in the button of the reset of the UV26

 

 

http://www.youtube.com/watch?v=ar7otl2nwBQ

 

My new collective works tres indeed, and the status armS also, is him Directly connected to the program BS, but for the type of ammunition Instead of having credit note of

 

Russian letters we have rags

 

00 = > STANDARD(CANNON)

01 = > rockets

02 = > missiles KH 25 ml or Vikhr

 

 

 

Change of ammunition, refill of the emports with Vikhr and rockets, status of

 

Emports by clairvoyants(lights) also work

 

http://www.youtube.com/watch?v=84vkXLyNyI4

 

Good Video

Link to comment
Share on other sites

It is the script SSI ( Sioc) of Thebest28 for the 7-segments of UV26

 

We make a stake for zero ( 110 ) with the reset switch of the UV26

Then we incrémentente the value of different sequence with the button of UV26

 

I am no in my house now, if you want I post the part of SSI for UV26 monday

Link to comment
Share on other sites

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

Link to comment
Share on other sites

  • 3 months later...

I have make ssi for datalink

 

the video :

 

I did not make the programming on hundred and thousand because I have a probleme for the jumps of 14* *** in 22* *** and for contiunuer until 39* ***

But that makes 400 combinations of frequences for the moment, it is enough I think:)

 

I take advantage of it to give you the link of the video of the LANXII of the 3rd-wing

 

the ssi and txt script :

datalink.zip

datalink.txt


Edited by gillesdrone
Link to comment
Share on other sites

I have finish the script for frequency datalink

 

 

// ************************************************** ***************************

// * Config_SIOC ver 3.5 - By Manolo Vélez - http://www.opencockpits.com

// ************************************************** ***************************

// * FileName : datalBISk.txt

// * Date : 13/01/2011

 

 

 

Var 0110, name SIOCKEY, Link KEYS // EMULATEUR KEYS

{

&SIOCKEY = 0

}

 

Var 0117, name freqdata2 // INIT DIGIT 2 freqdata

{

&CENTMIL = &CENTMIL

}

 

Var 0118, name freqdata3, Value 0 // LINK 3 freqdata

 

Var 0119, name freqdata4, Value 0 // LINK 4 freqdata

 

Var 0121, name freqdata6 // INIT DIGIT 6 freqdata

{

&CENTIEME = &CENTIEME

}

 

Var 0123, name INIFREQDAT, Link IOCARD_SW, Input 4 // SWITCH FREQ DATA reinit

{

IF &INIFREQDAT = 1

{

&CENTMIL = 12

&MILLE = 7

&CENTAINE = 5

&CENTIEME = 0

}

}

 

Var 0125, name CENTMIL, Link IOCARD_DISPLAY, Digit 205, Numbers 2 // AFFICHEUR FREQ DATA CENTMIL

 

Var 0126, name MILLE, Link IOCARD_DISPLAY, Digit 204, Numbers 1 // AFFICHEUR FREQ DATA MIL

 

Var 0127, name CENTAINE, Link IOCARD_DISPLAY, Digit 203, Numbers 1 // AFFICHEUR FREQ DATA CENTAINE

 

Var 0129, name CENTIEME, Link IOCARD_DISPLAY, Digit 201, Numbers 2 // AFFICHEUR FREQ DATA CENTIEME

 

Var 0130, name FRQDAT3_SW, Link IOCARD_SW, Input 114 // SWITCH FREQ DATA MIL

{

IF &FRQDAT3_SW = 1

{

IF &MILLE <= 9

{

&SIOCKEY = 12

&SIOCKEY = 0

&MILLE = &MILLE + 1

}

ELSE

{

&MILLE = 0

}

}

}

 

Var 0131, name frqdata1, Link IOCARD_SW, Input 115 // switch freq data CENTIEME

{

IF &frqdata1 = 1

{

IF &CENTIEME <= 75

{

&SIOCKEY = 23

&SIOCKEY = 0

&CENTIEME = &CENTIEME + 25

}

ELSE

{

&CENTIEME = 0

}

}

}

 

Var 0132, name FRQDAT4_SW, Link IOCARD_SW, Input 108 // SWITCH FREQ DATA CENTAINE

{

IF &FRQDAT4_SW = 1

{

IF &CENTAINE <= 9

{

&SIOCKEY = 11

&SIOCKEY = 0

&CENTAINE = &CENTAINE + 1

}

ELSE

{

&CENTAINE = 0

}

}

}

 

Var 0133, name frqdata2, Link IOCARD_SW, Input 113 // switch freqdata CENTMIL

{

IF &frqdata2 = 1

{

&CENTMIL = &CENTMIL + 1 // On incrémente de suite, sans envoyer

IF &CENTMIL < 15 // Tant que CENTMIL<15

{

&SIOCKEY = 24 // on envoie la commande

&SIOCKEY = 0

}

ELSE

{

IF &CENTMIL < 22 // Sinon, si <22 dans ce cas on saute à 22

{

&CENTMIL = 21 // et SEULEMENT APRES on envoie

&SIOCKEY = 24

&SIOCKEY = 0

&CENTMIL = &CENTMIL + 1 // rajout de cette ligne sinon pas d'increment

}

ELSE // Sinon, si CENTMIL >22 alors

{

IF &CENTMIL < 40 // Tante que CENTMIL <50

{

&SIOCKEY = 24 // envoyer la commande appropriée!

&SIOCKEY = 0

}

ELSE // Sinon, si CENTMIL>49

{

&CENTMIL = 10 // On repasse à 10

&SIOCKEY = 24 // et on envoie la commande

&SIOCKEY = 0

}

}

}

}

}

Link to comment
Share on other sites

  • 3 months later...

Very nice pit gillesdrone :thumbup:

Thats what i dream every night of...

 

I see you have most of switches and rotaries installed so do you think its possible to upload your siocconfig.lua and the matching .ssi file (export.lua) for other home pit builders?

 

That would be great, because i´m having great problems in programming sioc and with a "maxed-out-of-switches-and-lamps" config template it would be much easier to understand. I searched arround the forum for some code "pieces" and already integrated but some rotaries code and other things i dont´t get.

 

 

It would be really nice of you man...

 

Regards,

Terrorvogel

ASROCK X79 Extreme11 (WC), i7-4930K (WC), 32GB G.Skill TridentX, Vertex 3 120GB, GTX 980ti, 3x 39,5" Philips 4K, TrackIR 5, TM Warthog with PeterP´s FFB2 Mod, 2xSaitek Throttle, 2x Thrustmaster Cougar MFD Bezel, Simped Vario Pedals modded with toe brakes, Opencockpit Cards, 4x Soundcard, 2x Buttkicker Gamer 2, 4x GTX 950 with tons of touchscreens...

Link to comment
Share on other sites

  • 1 month later...

I have Finished the part encoders, which in the simu allows to make potars and rotary selecteur with push (typify push button ABRIS and SAI)

 

Here is the small video

 

http: // gilles.guesnel.free.fr/video/encodeurs.wmv

 

 

The interet for those who do not master the SIOC or the prog, this card is recognized as a joystick and thus regle with the inputs of the simu

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...