Page 1 of 1

Multiple KmotionCNC instances

Posted: Sun Jul 10, 2022 7:25 pm
by cnc_freak
Hello.
Sometimes by accident, i start two or more instances of KmotionCNC, which gives me strange programm behaviour. Is there a way, not to alow a second instance of KmotionCNC to be executed, or popup a warning window that KmotionCNC already is running.

Re: Multiple KmotionCNC instances

Posted: Mon Jul 11, 2022 12:48 am
by TomKerekes
Here is a simple PC WinForms program that will check for two instances of KMotionCNC class windows and if present display a warning. Otherwise it does nothing and exits. Copy the executable to the \KMotion\Release folder and assign it to the KMotionCNC Startup Action.

HTH

Re: Multiple KmotionCNC instances

Posted: Mon Jul 11, 2022 7:13 pm
by cnc_freak
Thank you for the reply but
assign it to the KMotionCNC Startup Action.
How do i do that?
Regards.

Re: Multiple KmotionCNC instances

Posted: Mon Jul 11, 2022 8:26 pm
by TomKerekes
KMotionCNC | Tool Setup | M0-M30 | Prog Start | Execute PC

Re: Multiple KmotionCNC instances

Posted: Wed Jul 13, 2022 7:55 pm
by cnc_freak
Thank you very much.