Machsupport Forum

Mach Discussion => General Mach Discussion => Topic started by: ve7pke on July 11, 2011, 07:22:57 PM

Title: Mach 3 is hanging while loading file
Post by: ve7pke on July 11, 2011, 07:22:57 PM
I posted this over at the Yahoo site and got no response.
I cant believe it only happens to me. If it does please give some suggestions on how to troubleshoot.
Dave at MSM suggested posting it here


When loading a file I get this
(http://i560.photobucket.com/albums/ss47/ve7pke/MachHanging.jpg)
Its random but persistent.
Its a short file. About 75 lines of code. When in does not hang it takes a
second or so to calculate path.
any suggestions on how to troubleshoot?

It's 3.043.37
XP home
MSM 1.17
PC is Shuttle X50V2 1.66 Ghz Dual core Atom
Thanks
Dave

Title: Re: Mach 3 is hanging while loading file
Post by: Hood on July 11, 2011, 07:39:53 PM
Maybe its the G70 Mach is not liking, try G20 instead and see if that helps.
Hood
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 11, 2011, 08:02:52 PM
Hood,
I can do that.
Two questions.
1) I am using the Vcarve Pro Post. I think it is widely used. I will have ot change it.
2) I can load the same file many times. Most of the time it is fine. Every once in a while it hangs.
I don't see that would have anything to do with a G70. if it G70 would it not be happening all the time.?

Thanks for the reply.
I hope some others chime in.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: Hood on July 11, 2011, 08:07:18 PM
I dont know, I am only guessing and it does show that line in your screenshot that it seems to be hanging on. G20/21 is preferred according to the G Code list so it may be the issue but may not be.
Hood
Title: Re: Mach 3 is hanging while loading file
Post by: GaryB on July 12, 2011, 11:34:45 AM
Are you loading from a network drive or usb thumb drive?
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 12, 2011, 11:40:43 AM
Gary,
Nope I am copying in the file from Thumb drive to Hard drive and running it from Hard drive.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: jcburn on July 12, 2011, 03:54:15 PM
It may be your thumb drive, I recently read that some brands cause problems copying files back and forth after the drives are a little older. Brand with 3 letters seemed to be the least trustworthy. Can't recall where I read it or I'd post a link. Made me cull my stable of thumb drives though.

Then again, could be something else.

jim  :)
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 12, 2011, 05:41:33 PM
I guess its not that. I have copied the file to the HD. I am running it from the HD. Most times it works. But not all the time.
Artisoft thinks its a computer OS issue.
Thanks for you suggestion.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: jcburn on July 12, 2011, 06:50:18 PM
Sorry,

I meant the file could have been corrupted while copying to your thumb drive from your design PC or from the thumb drive to your machine controller. The article stated that could happen.

jim  ;)
Title: Re: Mach 3 is hanging while loading file
Post by: ERP on July 12, 2011, 07:12:29 PM
I would have thought that path generation occurred after the file had been read, and I find it hard to believe that anything in a text file would cause mach to lockup.
I assume from your description that you can load a specific file normally, but sometimes it fails?
If it's intermittent like that, I would have to come down on the side of a computer issue, RAM problem perhaps.
Does the computer lock up or is it just mach that's unresponsive?
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 12, 2011, 07:51:47 PM
Mach just sits there. I have not waited for hours to see if it ever finishes what it is doing.
The amusing part is I tried the file on another machine and the same thing happens. I am happy to share the file if any one want to try it out.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: BR549 on July 12, 2011, 09:07:02 PM
Zip it up and post it here. Easy enough to test. I have seen files that had a currupt structure that would cause that . Could ALWAYS run it down to a line locator problem in the file.

(;-) TP
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 12, 2011, 09:14:46 PM
I believe this is the same file as in the picture.
When it hangs its on line 110 I believe.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: BR549 on July 13, 2011, 01:28:37 AM
NO problem loading here it took less than a second. Loaded it about 20 times all the same.

You may want to look at your Hard Drive AND your Memory chips. One of them may be heading south.

(;-) TP
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 13, 2011, 01:36:04 AM
Thanks for running it. I doubted it was the code.
I am having a big issue with my smooth stepper and am in the process of doing a fresh OS install. I am running the machine overnight with MS memory tester running. So far no memory issue. HD is new and no other problems noted. It's a SMART drive so I will do some checking.
At least it's good to know it's a machine related issue.
Thank you.
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: ger21 on July 13, 2011, 11:45:38 AM
I had a similar issue when running 3.41. With my 2010 screenset, the path generation window would never close, but I could run Mach with it in the background. With the standard screenset, there were no problems. Updating to 3.42.040 got rid of it. I'm thinking that a script I use for my load g-code button was causing it.

Are you using the standard screens?
Title: Re: Mach 3 is hanging while loading file
Post by: ve7pke on July 13, 2011, 01:45:57 PM
Gerry,
I am using Mach 3.043.037 I think
and Mach Standard Mill latest release.
I chatted with Dave of CVI and he thought it was a mach issue.
Thanks
Dave
Title: Re: Mach 3 is hanging while loading file
Post by: spencyg on June 07, 2013, 09:17:46 AM
I posted this over at the Yahoo site and got no response.
I cant believe it only happens to me. If it does please give some suggestions on how to troubleshoot.
Dave at MSM suggested posting it here


When loading a file I get this
(Image deleted)
Its random but persistent.
Its a short file. About 75 lines of code. When in does not hang it takes a
second or so to calculate path.
any suggestions on how to troubleshoot?

It's 3.043.37
XP home
MSM 1.17
PC is Shuttle X50V2 1.66 Ghz Dual core Atom
Thanks
Dave



Did you ever figure this out? I'm having the exact same problem.