tomekldc Posted May 24, 2019 Share Posted May 24, 2019 Good morning, everyone, I am new to the world of DCS. I'm just trying to export flight data (position, speed, etc...) to an outside dynamically (to JSON for the best of cases). I looked around and found out: - the DCS native Export.lua file. Using writing to a log file, everything works except when I try to make a UDP connection per socket. - DCS Export Core: I have a WinError 10061 error when I try a connection via UDP - DCS ExportScripts: does it only work with specific hardware (DAC and Ikarus)? - DCS-BIOS: Can find how to export and config easily the data I want to export Do you have simple tutorials to set up a UDP connection with DCS and export flight data, on which I can rely? Thank you very much for your time, Link to comment Share on other sites More sharing options...
algerad3 Posted May 26, 2019 Share Posted May 26, 2019 I am surprised nobody has chimed in on this one yet. I am not very well versed in this arena but will try to help. First off , how are you trying to send data (copy of send and receive script). DCS export can connect to any script/programs that accepts and sends data via lua sockets. A quick search on the inter-webs indicates the error you are getting is due to an issue with the port settings. Maybe proxie setup issue. Not very well Versed with DCS Bios but you can find the data you are looking for in the lua files for dcs if you know where to look as illustrated in the "Export .Lua" file examples portions. A quick search of the forums for "udp connections " will yield a lot of pages to peruse which can point you in the right direction for Udp connections and issues to such. ( i use tcp and am very little light on info ). Once you get the connection sorted out, you can peruse my scripts and get an idea of how to send and receive / use data streams. ( fair warning :I am an amateur on this portion and still learning.) [sIGPIC][/sIGPIC] CPIAS FOR Saitek: Saitek Flight instrument panels and X-52 pro mfd scripts for Dcs http://forums.eagle.ru/showthread.php?t=94174 Link to comment Share on other sites More sharing options...
Recommended Posts