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.
Multiple KmotionCNC instances
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Multiple KmotionCNC instances
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
HTH
- Attachments
-
- MutexSource.zip
- (16.3 KiB) Downloaded 124 times
-
- Mutex.exe
- (8.5 KiB) Downloaded 125 times
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Multiple KmotionCNC instances
Thank you for the reply but
Regards.
How do i do that?assign it to the KMotionCNC Startup Action.
Regards.
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Multiple KmotionCNC instances
KMotionCNC | Tool Setup | M0-M30 | Prog Start | Execute PC
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
Re: Multiple KmotionCNC instances
Thank you very much.