Jump to content

danielzarins

Members
  • Posts

    1
  • Joined

  • Last visited

Everything posted by danielzarins

  1. Hi! I've tried the ExportScript a bit now. I have a real AJS37 simulator that I want to run using DCS and then I thought that the DCS ExportScript would be a good solution. I already have software to communicate with all the hardware, since it's many different interfaces (synchro-motors, AC-servos, bulbs, solenoids, buttons etc.) that currently runs with Prepar3d. I have managed to connect this to the UDP socket of the ExportScripts, but I can't figure out how to increase the rate of communication so that the real instruments move in a smooth way, and how to send the full data set every now and then since I can't be sure that my software always run when DCS is first started (and all variables are sent once). I did look into the Config.Lua-file, and tried to lower the ExportScript.Config.ExportInterval and ExportScript.Config.ExportLowTickInterval without any effect. I also thought that ExportScript.Config.FirstNewDataSend and ExportScript.Config.FirstNewDataSendCount would mean that the full dataset is sent every X packets, but that doesn't seem to happen. Can you help me to do this using these scripts? This is how my Config.lua looks like: ExportScript.Config = {} ExportScript.Version.Config = "1.2.1" -- Ikarus a Glass Cockpit Software ExportScript.Config.IkarusExport = true -- false for not use ExportScript.Config.IkarusHost = "127.0.0.1" -- IP for Ikarus ExportScript.Config.IkarusPort = 1625 -- Port Ikarus (1625) ExportScript.Config.IkarusSeparator = ":" -- D.A.C. (DCS Arcaze Connector) ExportScript.Config.DACExport = false -- true for use ExportScript.Config.DAC = {} -- first hardware ExportScript.Config.DAC[1] = {} ExportScript.Config.DAC[1].Host = "127.0.0.1" -- IP for hardware 1 ExportScript.Config.DAC[1].SendPort = 26026 -- Port for hardware 1 ExportScript.Config.DAC[1].Separator = ":" -- secound to n hardware --ExportScript.Config.DAC[2] = {} --ExportScript.Config.DAC[2].Host = "127.0.0.1" -- IP for hardware 2 --ExportScript.Config.DAC[2].SendPort = 9092 -- Port for hardware 2 --ExportScript.Config.DAC[2].Separator = ":" -- Ikarus and D.A.C. can data send ExportScript.Config.Listener = false -- false for not use ExportScript.Config.ListenerPort = 26027 -- Listener Port for D.A.C. -- Other ExportScript.Config.ExportInterval = 0.03 -- export evry 0.05 secounds ExportScript.Config.ExportLowTickInterval = 0.3 -- export evry 0.5 secounds ExportScript.Config.LogPath = lfs.writedir()..[[Logs\Export.log]] ExportScript.Config.ExportModulePath = lfs.writedir()..[[scripts\DCS-ExportScript\ExportsModules\]] ExportScript.Config.Debug = true ExportScript.Config.SocketDebug = false ExportScript.Config.FirstNewDataSend = true ExportScript.Config.FirstNewDataSendCount = 10 Thanks :)
×
×
  • Create New...