User Activity

  • Posted a comment on discussion Open Discussion on Java Modbus Library

    I solved, the problem was that the modbus data simulator (http://www.plcsimulator.org/) was set with number of server connection 10, changing this parameter with 1000 the app works fine.

  • Posted a comment on discussion Open Discussion on Java Modbus Library

    Hi John, do you have an exampe with refresh update of 1 second?

  • Posted a comment on discussion Open Discussion on Java Modbus Library

    Thread threadInit = new Thread(new Runnable() { public void run() { Message msg = null; enExecution = true; Integer i = 0; while (enExecution) { try { i++; readDataMb(); Thread.sleep(1000); //mmsec Refresh data } catch (InterruptedException e) { Log.d("[Android]Main", e.getMessage()); } } } }); threadInit.start(); private void readDataMb() { String astr = "192.168.3.88"; //Modbus Device InetAddress addr = null; try { addr = InetAddress.getByName(astr); } catch (UnknownHostException e) { e.printStackTrace();...

View All

Personal Data

Username:
ciao87
Joined:
2017-06-12 14:14:23

Projects

  • No projects to display.

Personal Tools

MongoDB Logo MongoDB