java.io.IOException: jssc.SerialPortException
-
Hi,
I'm hoping someone still monitors this forum!
I am running the latest version.
Windows 11, with a decent USB to 485 converter polling 5 sensors on COM3.Getting error, and stopping polling:
java.io.IOException: jssc.SerialPortException: Port name - COM3; Method name - setEventsMask(); Exception type - Can't set mask.
Can anyone help? I can find anything on this.
Hayden
-
Hello Hayden,
We did some research into your question and found that this issue seems to be isolated to the port or driver not allowing java to set the mask of the port. I set up a Prolific PL2303 USB to Serial device using v4300 drivers and tried to reproduce the issue you are seeing. I was unable to get the error to occur.
Have you tried different drivers for your USB to Serial device?
Additionally, you can reach Mango support directly at support@radixiot.com.
-
@mwright Thanks for your response.
I will try updating the drivers, and/or the USB to 485 adapter, and ensure Windows UAC, or update isn't causing issues.
The weird thing is that it runs for weeks, then gets this error, and stops polling. It's almost
like Windows just grabs the port back for some test, like update or something. -
@mwright Further to this, "restarting of Mango fixes the issue", without doing anything with Windows. Suggesting that if Windows did grab the COM port for some process, it re-released it
after.I'm not asking for anything, but future updates might include attempts to re-open the COM ports once this error is encountered, as this error just kills the data source.