Jump to content

Recommended Posts

Posted

Hi,

 

I am new to pit building but would like to give it a try. I am a bit confused reading the various threads, so wondered if someone can point me in the right direction. At the moment I would like to try and interface an ADI to the DCS A10 using OP's I/O cards. I bought an ADI from e-bay and replaced the giro with two servo's. It works fine I have tested it using an old RC control I had (just to see if it wroked). My problem is I'm not sure about the programming part. I have ordred an I/O card from OC and the software that comes with it (SIOC). I have read in the forums about SIOC and LUA and I don't yet understand if I am supposed to be using one or the other or both LUA export scripts and SIOC. am I correct in believing that I need to configure both to work with the OP card and the sim or just either LUA or SIOC?

If that sounds confusing - it is probably because I am confused!! please can someone help, or point me in the right direction...

 

Thank you, Paul

Asus Rampage II Extreme, i7 920 @3.8Gh, 6Gb Corsair Dominator 1600hz, Msi GTX 470 Twin Frozr, Corsair 850w Mod PSU, TIR 5, HOTAS WH

Posted

I completly understand your confusion mate.. And I'll try to describe it for you, allthough I'm not the best at the details of SIOC programming. That would be Oakes if think. But here we go..

 

DCS export all numeric values to a kind of memory bank using a programming language called LUA.

Where in the "memory bank" each value is placed, and details arround each spesific value is configured in the export.lua.

 

The OC USBServo cards are connected to your pc through USB or a mastercard.. How and when and what you want the servo to do is configured with the SIOC software. It can either read a specific value in the same "memory bank" and respond to changes, or it can respond to input from switches connected to other OC IOCards if DCS doesn't export the state change for this specific action.

The reason for this is that with SIOC you can make subroutines that simulate functions in the cockpit that DCS don't include in the export.lua file.

 

However in your case you just need to tell DCS to export the values you need to control your ADI. Then you make sure that SIOC is looking for these values in the correct "memory bank's drawers".

And when you have confirmed that you've made LUA export the values to the same place you've told SIOC to look, then it's time to tell each servo how to act on these values. This is also done using SIOC.

 

So in short it's DCS->export.lua->"memory bank"->SIOC->USBServo Card->kick ass ADI working..!

 

(... I hope Oakes will read this and fill in the obvious blankes here...)

"But (504)Brewber said they were'nt friendly.. So I took'em out.!"

[sIGPIC][/sIGPIC]

 

Posted

Thank you - that makes sense to me... Now I need to understand how to do it!! haha... but thanks for your help, that was great :)

Asus Rampage II Extreme, i7 920 @3.8Gh, 6Gb Corsair Dominator 1600hz, Msi GTX 470 Twin Frozr, Corsair 850w Mod PSU, TIR 5, HOTAS WH

Posted

It'd be better that you start by learning how to make it work for a simple toggle or push button first. If you can make that work with lua and soic, then venture into steppers, motors, output stuff etc. But I'd always start with simple inputs first.

 

Have you read this?

http://forums.eagle.ru/showthread.php?t=45071&page=2

 

Oakes was guiding Stelios how to set up SOIC to work with DCS. It became a lot clearer to me after reading this. that is where I'd start when I get my OC cards.

 

OC definitely works for DCS. Many great guys here have knowledge and can help, like Oakes, Stelios, Gadroc, bad CrC, Gillsdrone etc.

Posted

Bit pushed for time today, but I'll read it over the weekend and see if I can get my head around it. Thank you very much for your help.

Asus Rampage II Extreme, i7 920 @3.8Gh, 6Gb Corsair Dominator 1600hz, Msi GTX 470 Twin Frozr, Corsair 850w Mod PSU, TIR 5, HOTAS WH

  • Recently Browsing   0 members

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