VisiCut
VisiCut copied to clipboard
Wainlux K6.... IOException: Port in use: COM3
On my Wainlux K6 Laser i get this Error:
IOException: Port in use: COM3
A lot of people also get this error....
Any help or workaround??
greets
Can you screenshot your device manager to confirm the Lasercutter is present on COM 3?
You could also try to run visicut as admin
I have also tried run as admin and different baudrates.....
thanks
Is there any other program opened which uses the com Port?
No....and i also have tried an other PC....and a get the same error...
This Error i also get:
“IOException: Underlying input stream returned zero bytes”.
Is there any other program opened which uses the com Port?
I will try changing the port....
Changing the port will not help...
Does it work with any other Software?
Yes...it works with original software....and also with differen versions of the software!
Is there anything i can do for you that you know what is not working??
Hmm. Okay. Are you able to set up a development environment so we can debug step by step?https://github.com/t-oster/VisiCut/wiki/Development:-Getting-started
Can you connect to the serial port using other software (HyperTerminal, Putty or similar)?
Can you find out which program blocks the serial port? https://www.equisys.com/Support/technotes/howto-identifying-which-process-is-using-the-serial-port
Hmm. Okay. Are you able to set up a development environment so we can debug step by step?https://github.com/t-oster/VisiCut/wiki/Development:-Getting-started
Sorry...no...thats over my knowledge :-)
Can you connect to the serial port using other software (HyperTerminal, Putty or similar)?
Can you find out which program blocks the serial port? https://www.equisys.com/Support/technotes/howto-identifying-which-process-is-using-the-serial-port
yes i can access the port with other software, checked with "serial port monitor from eltima software" it works also with original laser software
When i open visicut and send the code to the engraver, a can not connect with other software to the Port, so visicut it is connected to the Port.
Same “IOException: Underlying input stream returned zero bytes” here (Wainlux K6, VisiCut for Windows | 1.9-139).
"VisiCut --debug" sagt:
_WARNING: An illegal reflective access operation has occurred WARNING: Illegal reflective access by org.dom4j.io.SAXContentHandler (file:/C:/Program%20Files%20(x86)/VisiCut/Visicut.jar) to method com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser$LocatorProxy.getEncoding() WARNING: Please consider reporting this to the maintainers of org.dom4j.io.SAXContentHandler WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations WARNING: All illegal access operations will be denied in a future release using single-instance port: 6546 java.io.IOException: Underlying input stream returned zero bytes at java.base/sun.nio.cs.StreamDecoder.readBytes(Unknown Source) at java.base/sun.nio.cs.StreamDecoder.implRead(Unknown Source) at java.base/sun.nio.cs.StreamDecoder.read(Unknown Source) at java.base/java.io.InputStreamReader.read(Unknown Source) at java.base/java.io.Reader.read(Unknown Source) at de.thomas_oster.liblasercut.drivers.K3EngraverDriver.waitForACK(K3EngraverDriver.java:294) at de.thomas_oster.liblasercut.drivers.K3EngraverDriver.sendLine(K3EngraverDriver.java:310) at de.thomas_oster.liblasercut.drivers.K3EngraverDriver.send4ByteCommand(K3EngraverDriver.java:319) at de.thomas_oster.liblasercut.drivers.K3EngraverDriver.sendConnectSequence(K3EngraverDriver.java:407) at de.thomas_oster.liblasercut.drivers.K3EngraverDriver.sendJob(K3EngraverDriver.java:551) at de.thomas_oster.visicut.VisicutModel.sendJob(VisicutModel.java:778) at de.thomas_oster.visicut.gui.MainView.lambda$executeOrSaveJob$7(MainView.java:2209) at java.base/java.lang.Thread.run(Unknown Source)
Also getting this. Windows and K6. Is there anything we can do to help debug? I do have a logic analyzer, if necessary, although I don't particularly want to pop the top off the unit if I don't have to.
edit: This is in regards to "Underlying input stream returned zero bytes" continuing discussion in the proper issue linked below
I'm somewhat confused by the comments - the original poster says "IOException port in use", another one says "Underlying input stream returned zero bytes". Please only discuss the "Port in use" issue here.
For the "zero bytes issue", see https://github.com/t-oster/LibLaserCut/issues/170 .