I'm a first time user and I'm trying to use the serial port. First time ModbuslPal indicated the missing RXTX library; I've found multiple site where the library is available but so far no luck. When I install the library; ModbusPal refuse to start.
Can someone point me to the latest version that work in Windows 10 ?
Thanks
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
You can run ModbusPal with the -install option and it is supposed to set up the RXTX library. I don't have access to a serial port so I can't test that functionality out. Let me know if that works for you.
e.g.
java -jar ModbusPal.jar -install
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi Robert,
Thanks for pointing out the download issue. I've corrected that. I'll see if I can incorporate the new RXTX API in the release.
As for your issue with the serial port failing most of the time, can you go into more detail? What is your configuration set up and what are you seeing VS what you are expecting?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
the problem is a buffer overflow; I'm guessing the read from the serial port has no (or not big enough) time-out in receive. The time-out should be 3.5 characters in between frame.
Thanks.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm trying to use ModbusPal with the serial port. First time ModbuslPal indicated the missing RXTX library. I've got the latest stable rxtx 2.1-7r2 from http://rxtx.qbang.org/ and installed it:
java -jar ModbusPal.jar -install
Installing RXTX component...
os.name returns "Windows 11"
Install RXTX on Windows...
java.home returns "C:\Program Files (x86)\Java\jre-1.8"
64-bit architecture detected...
Installing "rxtx/win-x64/RXTXcomm.jar" to "RXTXcomm.jar"
OK.
Installing "rxtx/win-x64/rxtxParallel.dll" to "rxtxParallel.dll"
OK.
Installing "rxtx/win-x64/rxtxSerial.dll" to "rxtxSerial.dll"
OK.
Now when I try to start ModbusPal, nothing happens, the GUI does not opens:
C:\Test>java -jar ModbusPal.jar
Could not load an initial port number. Loading default port number.
console window becomes suspended until I press Ctrl+Break
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
I'm a first time user and I'm trying to use the serial port. First time ModbuslPal indicated the missing RXTX library; I've found multiple site where the library is available but so far no luck. When I install the library; ModbusPal refuse to start.
Can someone point me to the latest version that work in Windows 10 ?
Thanks
Hi Robert,
You can run ModbusPal with the -install option and it is supposed to set up the RXTX library. I don't have access to a serial port so I can't test that functionality out. Let me know if that works for you.
e.g.
java -jar ModbusPal.jar -install
Hi,
the '-install' is failing but I was able to find the rxtx, here is a copy:
http://www.jcontrol.org/download/rxtx_en.html
After installing on Windows 10, it's looking good.
BTW, the latest download file from SourceForge is only containing the help file.
Thanks
Hi,
no luck for serial port. Most of the time it's failing and it's because it's only handling packet (for TCP) not byte.
Hi Robert,
Thanks for pointing out the download issue. I've corrected that. I'll see if I can incorporate the new RXTX API in the release.
As for your issue with the serial port failing most of the time, can you go into more detail? What is your configuration set up and what are you seeing VS what you are expecting?
Hi darkweb,
the problem is a buffer overflow; I'm guessing the read from the serial port has no (or not big enough) time-out in receive. The time-out should be 3.5 characters in between frame.
Thanks.
Hi,
I'm trying to use ModbusPal with the serial port. First time ModbuslPal indicated the missing RXTX library. I've got the latest stable rxtx 2.1-7r2 from http://rxtx.qbang.org/ and installed it:
java -jar ModbusPal.jar -install
Installing RXTX component...
os.name returns "Windows 11"
Install RXTX on Windows...
java.home returns "C:\Program Files (x86)\Java\jre-1.8"
64-bit architecture detected...
Installing "rxtx/win-x64/RXTXcomm.jar" to "RXTXcomm.jar"
OK.
Installing "rxtx/win-x64/rxtxParallel.dll" to "rxtxParallel.dll"
OK.
Installing "rxtx/win-x64/rxtxSerial.dll" to "rxtxSerial.dll"
OK.
Now when I try to start ModbusPal, nothing happens, the GUI does not opens:
C:\Test>java -jar ModbusPal.jar
Could not load an initial port number. Loading default port number.
console window becomes suspended until I press Ctrl+Break