Darkwolf Posted August 30, 2012 Posted August 30, 2012 Dear Everyone, I'm looking for information about the SIOC use. I found the tutorial from Pancake, which was really nice to get started (if you read me, thank you very much!!). If i suceeded with inputs in the system, the tutorial don't talk about outputs, and the comments in Oakes's export script didn't helped. I tried a few things, but i think something is missing. Do anyone know how to set SIOC and Oakes scripts to setup real lights ? Or do anyone has any idea where to look for ? I found a lot of topic to go thru, but no explanation of the setup. Thank you for your help ! Regards, Wolf. [sIGPIC][/sIGPIC] PC simulator news site. Also....Join the largest DCS community on Facebook :pilotfly:
Duckling Posted August 31, 2012 Posted August 31, 2012 Hi Darkwolf. Sounds you in the same situation as myself some 'time' ago. Got the first stain of gray on my scalp then :-) Got some really appriciated help to troubleshoot my setup to get it working To ease the task, upload your: export.lua exportsupport.lua siocconfig.lua Any referenced files for your indicators (if used) A text export of your sioc scriptfile can be usefull Cheers Gus - - - -
Darkwolf Posted September 9, 2012 Author Posted September 9, 2012 Hi Duckling, Thank for your quick reply. Attached the file you were mentionning, and a couple of screens of my SIOC software settings. The lights works in SIOC test mode. I'm still building the pit but with a few lights, SIOC and opencockpit's USB output i tried to setup a temporary LWS. I found the LWS ID in the devices.lua. devices["LASER_WARNING_SYSTEM"] = 36 Then the light ID in mainpanel_init.lua : LWS_LampAzimuth_0 = CreateGauge() LWS_LampAzimuth_0.arg_number = 25 LWS_LampAzimuth_0.input = {0.0, 1.0} LWS_LampAzimuth_0.output = {0.0, 1.0} LWS_LampAzimuth_0.controller = controllers.LWS_LampAzimuth_0 LWS_LampAzimuth_90 = CreateGauge() LWS_LampAzimuth_90.arg_number = 28 LWS_LampAzimuth_90.input = {0.0, 1.0} LWS_LampAzimuth_90.output = {0.0, 1.0} LWS_LampAzimuth_90.controller = controllers.LWS_LampAzimuth_90 LWS_LampAzimuth_180 = CreateGauge() LWS_LampAzimuth_180.arg_number = 26 LWS_LampAzimuth_180.input = {0.0, 1.0} LWS_LampAzimuth_180.output = {0.0, 1.0} LWS_LampAzimuth_180.controller = controllers.LWS_LampAzimuth_180 LWS_LampAzimuth_270 = CreateGauge() LWS_LampAzimuth_270.arg_number = 27 LWS_LampAzimuth_270.input = {0.0, 1.0} LWS_LampAzimuth_270.output = {0.0, 1.0} LWS_LampAzimuth_270.controller = controllers.LWS_LampAzimuth_270 So i tried to set things as it : LWSIndicators = { [101] = {36,25}, [102] = {36,26}, [103] = {36,27}, [104] = {36,28}, [105] = {36,31}, [106] = {36,582}, } [...slighly further ... ] gIndicatorTables = {LWSIndicators, dataLinkIndicators, weaponsInterfaceIndicators, weaponsStationIndicators} The software connect properly to SIOC as the LWS reset button works fine. I think i'm missing something somewhere but after a few day searching, i'm just lost. If you have any idea what i am missing i would really be gratefull. :) During test flight, the lights works on the virtual Laser Warning System, not on my real LWS. Thanks for the assistance, Greetings from Belgium, Wolf.Export.luaExportSupport.luasiocConfig.lua [sIGPIC][/sIGPIC] PC simulator news site. Also....Join the largest DCS community on Facebook :pilotfly:
Recommended Posts