On Wednesday, March 07, 2012 08:10:30 AM Karl Cunningham did opine: > On 03/06/2012 07:29 PM, gene heskett wrote: > > I have my doubts Kenneth. That var is used all the way thru the upper > > loop that does the roughing cuts, and then saved after the roughing > > cuts are finished, to serve as a reference for the starting position > > of the next, much finer cutting so it leaves a decent finish on the > > shank of the taper. > > > > I had grep spit out the line number the matches were found on, and it > > is line 60 below that Linuxcnc is complaining about. Line 60 is the > > end of the roughing cuts, and that var is used in lines 42, 49 and 51 > > before line 60 is executed. > > > > I agree that its probably something even I'd have to call dumbass once > > I find it. But I spent the day trying to install a heavy duty hitch > > on my Toyota, but didn't get the wiring harness install finished > > before I wore me out. So I need to take my bedtime pills& take my > > aches& pains to bed. > > Gene, > > Have you tried initializing the variable to a constant at the beginning > of the program, outside of any loops? Then see if it still fails? I've > found that doing something that shouldn't affect anything occasionally > does. > > Karl > See my previous msg Karl, I believe I have it working. But its too cold in the shop to expect vactra to act warm enough for the feedrates, so all I am doing ATM is cutting virtual air. ;)
Thanks. As for this problem, from the clues I'm picking up here, if a global variable is created/adjusted inside of an onumber while, its gone when the corresponding onumber endwhile is finished. That is the only conclusion I can come to that fits the observed results. IMO, if its defined globally, as in #<_name>, even if its inside a "while/endwhile" then it s/b globally usable. Such seems not to be the case. So it seems to be at odds with the docs in this regard. Fixing that, could even fix the exit crashing I'm getting maybe? As in a screwed up stack? Cheers, Gene -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order." -Ed Howdershelt (Author) My web page: <http://coyoteden.dyndns-free.com:85/gene> Being overloaded is the sign of a true Debian maintainer. -- JHM on #Debian ------------------------------------------------------------------------------ Virtualization & Cloud Management Using Capacity Planning Cloud computing makes use of virtualization - but cloud computing also focuses on allowing computing to be delivered as a service. http://www.accelacomm.com/jaw/sfnl/114/51521223/ _______________________________________________ Emc-users mailing list Emc-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/emc-users