Page 1 of 1
Initialization program causing freeze
Posted: Wed Sep 28, 2022 5:34 pm
by amowry
I use the attached C program for initializing my CNC, and while it works most of the time is seems to occasionally cause the KFlop to freeze. The issue is with the forever loop starting at line 77 that I added a few years ago to control my laser (if I remove that loop it always works fine). I was wondering if you see anything in this loop that would cause issues? Thanks!
Re: Initialization program causing freeze
Posted: Wed Sep 28, 2022 6:41 pm
by TomKerekes
Hi amowry,
No I don't see anything specific. But the other files weren't included.
What do you mean by "freeze"?
What is minimum required to "unfreeze" it?
You might try removing pieces of the forever loop to see if you can identify the cause.
Re: Initialization program causing freeze
Posted: Wed Sep 28, 2022 8:06 pm
by amowry
I think I found the issue-- at some point I accidentally changed the user button command from Exec Prog to Exec/Wait. Sorry to have wasted your time on this
.