mic-joebstl / LaserEngraver

Alternative to the software that comes with K3/K5 laser engravers
Apache License 2.0
3 stars 0 forks source link

error when connecting #1

Open hannescrypto opened 1 year ago

hannescrypto commented 1 year ago

dear creator of this nice software

i was searching for a alternative version of software for my laser now i found yours and gave it a try

1.) i installed CP210x drivers (64bit version) 2.) it found the laser on COM3 Port

When i try to connect the laser i get an Error

=> The Operation was canceled

do i have used the wrong driver or is something else missing here.

whats the requirements i have to install for running this software.

The crap originall software runs fine so i guess its not a driver issue here

Thanks for your answer

mic-joebstl commented 1 year ago

The device should come with the required driver.
What device are you trying to connect?
I had only the chance to test my tool on the K3 and K5 laser engravers, which differ only in their USB port as far as I know.
When you google pictures of "K3 laser engraver" your device should look like the first few results. The Operation was canceled when trying to connect, comes when the device isn't responding.

hannescrypto commented 1 year ago

yeah i have the k6 which should be same board what i found out

but the drivers cannot be the problem i guess because it runs with the originall software

maybe can you upload your driver here and i try installing the k3 drivers from you?

mic-joebstl commented 1 year ago

I am not sure I can safely provide the drivers directly in this repo, as the drivers are copyrighted.
However the driver I have installed is the wch.cn CH341 version 3.5.2019.1

Rubenacp commented 10 months ago

Hello, I have the same issue. K3 and drivers CH341 version 3.5.2019.1. But does not connect. First when I pulsed on Connect does no connected because it detected 2 COM In appsettings.json I include the line PortName with my COM, as you suggested, but now when I try to connect appears: the operation was canceled.

My operation system is Windows 11 and I tried by "LaserEngraver_0_9_0_self-contained" an "LaserEngraver_0_9_0_portable"

mic-joebstl commented 9 months ago

I sometimes have the same issue. Reconnecting the device (physically) usually resolves the issue. I am not sure yet what causes this. I assume you tried this already, but might be related. Did you try all suggested port names?

edit: The problem that I had is that I sometimes get an error "Connection refused" or something similar. When the connection times out, the app is not getting a response from the engraver at all.