kochedykov / jlibmodbus

JLibModbus - is an implementation of the Modbus protocol v1.1b in java language. Java modbus library. It works. Welcome.
http://kochedykov.github.io/jlibmodbus/
Apache License 2.0
307 stars 128 forks source link

simplemasterRTU not running #83

Closed boerti71 closed 1 year ago

boerti71 commented 1 year ago

Hej!

I'm trying to get simplemasterrtu get running, I cloned the Jljibmodbus in Excel and made the following changes: sp.setDevice(dev_list[2]); SerialUtils.setSerialPortFactory(new SerialPortFactoryJSSC());

the crash happend by command line: m.connect();

any idea what I'm missing?

Thanks!

hs_err_pid14088.log

boerti71 commented 1 year ago

it's running now with the following setting: SerialUtils.setSerialPortFactory(new SerialPortFactoryPJC());