Jump to content

Terrorvogel

Members
  • Posts

    346
  • Joined

  • Last visited

Everything posted by Terrorvogel

  1. Hi Duckling, nice work you have done so far! It´s great to have such an experienced Sioc-professional in the forum here, who is taking much sparetime for helping others!:thumbup: I have already started to test you code but running into first little problem: I don´t have a SiocExport.lua and also therefore needed Config.lua??? Could you plz upload yours (Code), so i can do further testing? P.S. I hope you are still online, otherwise i´m happy to hear from you after some weeks... Thank you so far for your help!:) greetings to Sweden, Terrorvogel
  2. Good morning Duckling. I´m very happy that you take a look at this one too!:) Consider that there is absolutely no hurry. If you mean that black/white indicator, that is moving when "oxy switch" is "on", i don´t know if it is the right indicator to use then? The breathing machine should of course not fluctuate if the "oxy switch" is set to "on" rather running further, till switched "off" again or getting damaged otherwise somehow in battle. Best would be some kind of Sioc-checking routine (if this is possible somehow at all), if that "flip/flop indicator" ist "lighting" in some defined time or not and then to use that variable to feed the USB-Outputscard. Would be really nice if you could find a solution for this!:) regards, Terrorvogel
  3. Hi Duckling, the most parts are running with Touchsceens and Helios. Only the right electricpanel, UV26 and some other parts for KA-50 are running with Opencockpits hardware and the Gear Lever and the three T-Handles for A-10C. So there is no physical switch to turn on the oxygen supply. I need it to get working when i push the oxygen supply button to "On" in Helios (if OXY Sys FLOW INDICATOR Warning is not lighting) , the USB-Outputscard should switch my 230V relay for breathing machine. If OXY Sys FLOW INDICATOR is lighting then USB-Output should stop although the oxygen supply button is still "On". As simple as possible. If building a "real" cockpit sometime in future, it can be done more perfect:) i have now made in A-10C.ssi: Var 9600, name OXY_Sys_FL_IND, Link IOCARD_OUT, Output 49 // OXY Sys FLOW INDICATOR Var 9601, name Oxy_Gen, Link IOCARD_SW, Device 5, Input 200 // PTR-OXYGENCP-SUPPLY (Switch in DCS: Oxygen Supply On/Off) Var 9605, name Oxy_Power, Link IOCARD_OUT, device 3, Output 0 // Opencockpits-USB-Outputscard Power-Relay (12V-to-220V) ON/OFF { IF &Oxy_Gen = 1 { &OXY_Sys_FL_IND = 1 &Oxy_Power = 1 } IF &OXY_Sys_FL_IND = 0 { &OXY_Sys_FL_IND = 0 &Oxy_Power = 0 } } In siocConfig.lua (i hope this is right:music_whistling:): [9601] = {TwoPositionSwitch, 40, 1, 1}, -- PTR-OXYGENCP-SUPPLY (Oxygen Supply On/Off) In Clickabledata.lua (10C) under --Oxygen System Control Panel which should be ID40: elements["PTR-OXYGENCP-SUPPLY"] = default_2_position_tumb(_("Oxygen Supply On/Off"), devices.OXYGEN_SYSTEM, device_commands.Button_1, 603) But it is not working. Something seems very wrong again:cry: regards, Terrorvogel
  4. This piece of code seems to work:thumbup: No i have learned a little bit more with programming Sioc:). Now that i have still contact to an expert in this Sioc language, could you give me maybe a final hint for my last question? How to switch or control an USB-Outputscard port with an changing inside DCS parameter like the A-10´s oxygen flow from mainpanel_init.lua?: A-10C mainpanel_init.lua: BreathFlow = CreateGauge() BreathFlow.arg_number = 600 BreathFlow.input = {0.0, 1.0} BreathFlow.output = {0.0, 1.0} BreathFlow.controller = controllers.BreathFlow If this is not that a big deal (what i don´t believe to be honest:cry:), could you give me a sample code for that? Something like: If oxygenflow parameter = 1 then output to var 1500 If oxygenflow parameter = 0 then no output to var 1500 .ssi/SIOC: Var 1500, name Oxy_Power, Link IOCARD_OUT, device 3, Output 50 // Turning Oxygengenerator-Power-Relay (12V-to-220V) ON/OFF How to grab such parameters out of DCS in general and integrate them to something usefull? Are there some exaples of code somewhere in the www to play arround? What my intention for this is: I would like to switch an 220V breathing machine (used for sleep apnea) which is fitting my connected mbu-20/p oxygenmask with air. So when oxygen is flowing inside DCS i´d like to turn on a relay with 12V USB-Outputscard-channel to switch the breathing machine on. If oxygen is not flowing anymore (due to damage during fight etc.), relay should close. I know this is crazy:music_whistling: but i have all this stuff laying arround and can´t get it connected due to lack of SIOC knowledege.:doh: Thank you so far for your time an patience Duckling! regards, Terrorvogel
  5. Great!!! Your code is working as expected! Thank you very very much mate:thumbup: I haven´t still connected the rotating-lamp but at the two channels of the dedicated USB-Outputs are 12Volts coming out when switching the Anti-Col Beacon switch:) Thx for that link with the cheap relay-boards. I´m thinking over it, because it is the much more safe way to solve the power-connection due to a limit of 500mA per channel. With this "Var0" initialisation thingy, ist this the right way to insert it because its not working somehow? Var 0000, Value 0 { &LighAnticol_SW = 1 } regards, Terrorvogel
  6. Thank you very much Duckling, your´e my hero!!!:smartass::thumbup: It is working perfect now so i can use my created 4-Way switch as it should work. That makes my day mate! This code is for sure nice for other users in the future too. May i ask you another little question due to sioc? I would like to connect a red 12V-driven-rotating-police lamp at the top of my homepit to simulate the "Anti-Col-Beacon" for immersion. I haven´t found some internal sioc variable for grabbing this, so do you know a simple sioc-code, that when i use this switch to get additional output directly to my USB Outputscard?: Input switch: Var 0517, name LighAnticol_SW, Link IOCARD_SW, Device 5, Input 56 // SWITCH LIGHT ANTICOLLISION BEACON I would like to directly switch this two outputs of my USB Outputscard: Var 0420, name LighAnticol_L1, Link IOCARD_OUT, Output 0 // --LIGHT ANTICOLLISION BEACON (12V LED light USB Outputscard Output Nr.1) Var 0421, name LighAnticol_L2, Link IOCARD_OUT, Output 1 // --LIGHT ANTICOLLISION BEACON (12V motor for rotating USB Outputscard Output Nr.2) Would be so sweet if you could answer me this too:) regards, Terrorvogel
  7. Hi Duckling! the switches in clickabledata.lua are looking this (so different to yours from A-10): elements["EXTING-GROUPS-CTRL-01"] = {class = {class_type.BTN}, hint = LOCALIZE("1st fire warning sensors group BIT"), device = devices.FIRE_EXTING_INTERFACE, action = {device_commands.Button_11}, stop_action = {device_commands.Button_11}, arg = {251}, arg_value = {0.1}, arg_lim = {{0, 0.1}}, use_OBB = false, updatable = false, use_release_message = {true}} elements["EXTING-GROUPS-CTRL-02"] = {class = {class_type.BTN}, hint = LOCALIZE("2nd fire warning sensors group BIT"), device = devices.FIRE_EXTING_INTERFACE, action = {device_commands.Button_12}, stop_action = {device_commands.Button_12}, arg = {251}, arg_value = {0.2}, arg_lim = {{0, 0.2}}, use_OBB = false, updatable = false, use_release_message = {true}} elements["EXTING-GROUPS-CTRL-03"] = {class = {class_type.BTN}, hint = LOCALIZE("3rd fire warning sensors group BIT"), device = devices.FIRE_EXTING_INTERFACE, action = {device_commands.Button_13}, stop_action = {device_commands.Button_13}, arg = {251}, arg_value = {0.3}, arg_lim = {{0, 0.3}}, use_OBB = false, updatable = false, use_release_message = {true}} What do i have to change in your A-10 code to make it fit? regards, Terrorvogel
  8. Hey Oakes, do you have some sioc-code for this 4-way switch laying around?:music_whistling::helpsmilie: I have made one of this switches by myself but can´t get it to work with the use of: [1327] = {SimpleRotary, 40, 12}, -- TFS Sensor Mon G1-G2-G3 selector https://postimg.org/image/4lrssnzlt/][/url]fotos hochladen The switch position GR1 and GR2 are working correct but middle (off) is not working and position GR3 isn´t moving. Would be great if you or someone else could take a look into my noobish piece of code here: Var 1327, name TFSsensor // TFS Sensor Mon G1-G2-G3 selector switch Var 1328, name TFS_GR1, Link IOCARD_SW, Device 5, Input 69 // TFS Sensor Mon GR1 EXTING-GROUPS-CTRL-01 { IF &TFS_GR1 = 1 { &TFSsensor = 1 } IF &TFS_GR1 = 0 { IF &TFS_GR2 = 0 { &TFS_GR1 = 1 } } } Var 1329, name TFS_GR2, Link IOCARD_SW, Device 5, Input 66 // TFS Sensor Mon GR2 EXTING-GROUPS-CTRL-02 { IF &TFS_GR2 = 1 { &TFSsensor = 2 } } Var 1330, name TFS_GR3, Link IOCARD_SW, Device 5, Input 70 // TFS Sensor Mon GR3 EXTING-GROUPS-CTRL-03 { IF &TFS_GR3 = 1 { &TFSsensor = 3 } }Regards, Terrorvogel
  9. I have copied the vJoyInterface.dll from the SDK zip file C:\vJoy216SDK-030216\SDK\lib\amd64\vJoyInterface.dll into my vjoy install path: C:\Program Files\vJoy\x64 I´m currently running SIOC.exe Ver. 5.0B5 When running your vJoyClient.exe now (as admin for sure), that i have also copied into vjoy installpath, i get an errormessage that vJoyclient is not working anymore -->Close Program With origin vJoyInterface.dll from vjoy itself, there is a different error message and abort too (no CMD screen)
  10. No i haven´t installed it before. Now i have downloaded the .zip file from your link, but a stupid question, how do i install it? Do i have to copy it over the vjoy installation? How do i open the ReadMe.odt file inside? Just need a little direction for this. Sorry for my noobian knowledge due to this and thank you for your support!
  11. Hey Vitabutch! When starting your vJoyClient.exe (as admin), i get some kind of errormessage: "Systemerror vJoyInterface.dll is missing" and nothing further happening. I have installed the latest vJoySetup.exe and devices are set and visible. What vJoySetup version is the preferred one? Do i need some additional files to get this running? Kind regards, Terrorvogel
  12. Hi Capt Zeen! To check the issue i have downloaded the this export.lua again from: http://captzeen.com/helios/archives/Export_for_DCS_1.5.rar and put it straight to C:\Users\username\Saved Games\DCS.openbeta\Scripts I´m running DCS World OpenBeta 1.5.3.52478 in Win10 and Helios 1.3.190.448. Loading untouched profile Capt_Zeen-KA50-v1.0b_ger.hpf and make a monitors reset and saved into new profile. After starting the new created profile no gauges moving:( As already said, every other profile is working. So what is different to this one?
  13. Can't get it working with latest 1.5 openalpha! There is no connection to DCS - no gauges moving and no reaction to any switches. Every other available Ka-50 profiles are running without any problem. I'm already using Capt Zeens customized Export.lua. Pathes are ok inside Helios because other profiles have no problem. So whats the issue here? I do really like to try out this great looking profile from Capt Zeen:)
  14. Running latest OpenAlpha 2.0.2.52369 with 3x 3840x2160 UHD displays. In latest OpenBeta 1.5.3.52478 it is working great. { Center = { x = 0; y = 0; width = 11520; height = 2160; viewDx = 0; viewDy = 0; aspect = 11520/2160; } } GUI= { x = 3840; y = 0; width = 3840; height = 2160; } --UIMainView = Viewports.Center UIMainView = GUI
  15. Thank you for the hints guys! Two things that went wrong here in my setup: 1. I noticed that every time i started Voice Attack my microphone volume is decreasing extremely (down to 15%). So i disabled under microphone's advanced properties the option "Allow applications to take exclusive control of this device. I have discovered inside the www that if creating a new windows voice-recognition-profile, the CURRENT volume of the microphone ist set and linked with this profile! So when you are creating a profile, watch at you current mic volume when doing this! Whenever windows voice recognition is being used (for example by Voice Attack), that saved/linked mic-volume will be restored and if it is too low (like in my case), recognition can make big problems. So i deleted my englisch voice recognition profile after changing that mic setting in nr.1 and created a new one with perfect mic-volume settings. 2. That hint with the pause between the recipient makes everything better too! I hope windows is learning with the time so i can speak a little bit faster in future. Now it is behaving a lot better Hope this can solve some issues for others too. Thanks again for your help! Regards, Terrorvogel
  16. Hi Hollywood, first of all thank you for this promising tool!:thumbup: Nearly everything is working now after reading the manual and this endless thread. But i have two questions to make it really work for me: 1. Many spoken commands are not recognized altough i have learned them directly into the voice recognition library. For example Ka-50 profile: When i say "Two go recon two" then in VA-log there is shown: "to goal RE:" No matter how often i'm repating the not recognized words learning in library... Can you give me any hints how to sharpen the recognition or what i'm doing wrong maybe? Mircophone is set up right and i am using a german Win 10 with english voice recognition and inside Voice Attack i have chosen the english voice recognition. My spoken englisch is not part the problem:huh: Voice Attack is latest but NO beta! I have changed the the engl. DCS communication key to german keyboard because nothing happend without. The pathes were customized as described du to changes in DCS World openbeta. 2. Sometimes when using VAiCOM commands DCS changes to outside view. This is really annoying during fight and i do not find the cause. I have already deleted F-12 and F-11 keys inside DCS. In Trackir the F-keys are not enabled. Any ideas? Kind regards, Terrorvogel
  17. Thank you very much Vitabutch!:thumbup: Kind Regards, Terrorvogel
  18. This stupid zoom "feature" is that much annoying every time... It makes me angry for years now. Plz ED make an option to turn off this "feature"!
  19. Hey Airbus350, i'm gonna buy the Simpeds right now! Sent you a PM
  20. Very nice!!! Big thank you man for your work. Wish a happy new year!
  21. Great aircraft...can't wait to buy!!!
  22. Thx you for the interesting answer zimbakin! I will have a look at that Adobe soft. Did you print out the console on paper and glued it onto the case or did you completely CNCed the console somehow?. Does light come through the panel from behind? I am thinking about to completely redo my panels because they're ugly. Would be nice if you could answer this questions for me too.
  23. Very nice work man!!! :thumbup: How did you exactly made the printing of the side panel? What software do you use for that? I made same sidepanel but it looks not far that good than yours man:helpsmilie:
×
×
  • Create New...