I need some help with waiting till another classes code finishes to execute another code.
I call another class code :
//Connecting to ModBusTcpIp
ModbusJonava Connection = new ModbusJonava();
and i need to execute this only then it finishes:
// Writing walue from ModBusJonava class to the edittext
Now what it does is writting the value to edittext box before it gets it from the server.
Thanks for help.
P.S Its modbusTcpIp connection with jamod library.