How can I connect to other process through Lua scripts?
Posted: Fri Aug 21, 2020 4:50 am
I want to use Java Process to control Unit In CMO. So need to get relative obsevation to Java Process, then my Java Process get unit action and send it to CMO. Every seconds, reapeat this turn. Now I know how to get observation and send action to unit throught Lua Console, what's more, I want to add Event to send observation data to Java Process,then receive action from Java Process. Now there are two way to do this, through sharing file or socket to connect Java and Lua scripts. But COMMAND Lua even not support file io. Is anyone do this befor? Or any relative advice?Welcome communicate with me.