Machsupport Forum

Mach Discussion => Mach Screens => Machscreen Screen Designer => Topic started by: tmead on November 03, 2010, 09:50:50 AM

Title: Machscreen creates corrupt files ?
Post by: tmead on November 03, 2010, 09:50:50 AM
I've used Machscreen a couple of times, and have been very happy witht eh improvements over previous editors. But sadly I am having to go back to Mach3Screen at the moment because there are no garantees that the .set files are readable. I've used machscreen to develop a screen set for a piece of lab equipment we're using, and have been saving versions along the way. Just recently I have made some mods to the layout and code and then saved a new version. The mods were to add some additional DROs to the screen. No code or anything.

This version crashes Mach when I load it, starting with an error message saying 'An attempt was made to access an unnamed file past its end', and then when Mach is closed there is a message box sitting behind, showing ' Error found, Art Code 9991, Attempt Recovery? with yes/no buttons. Yes doesn't clear it, and no leads to the MS erorr mesasge about closign due to a problem.

The file cannot be opend in Screen4 'Unexpected file format' or mach3screen 'Unexpected file format' and MS error message.
It also cannot be opened in machscreen, showing 'unexpected end of file'.

I'd welcome your comments about what i'm doing wrong ?

The file attached is an .sset file which has been renamed to .set temporarily so that it can be attached, but the effect is the same if the file is saved as .set or .lset from machscreen.


Tim
Title: Re: Machscreen creates corrupt files ?
Post by: M250cnc on November 03, 2010, 11:54:08 AM
Hi Tim

I got the same problem end of file error with your file

MachScreen should have saved some backups, 10 is the default so there may be a version you can go back to.

MachScreen has been very good, and you are the first with a catastrophic failure such as this.

Definitely one for Klaus
Title: Re: Machscreen creates corrupt files ?
Post by: tmead on November 03, 2010, 12:47:52 PM
Feels good to be breaking new ground !

 :-\
Title: Re: Machscreen creates corrupt files ?
Post by: Klaus1311 on November 03, 2010, 05:21:12 PM
Hi tmead,

the problem you are experiencing is a bug in MachScreen. This happens if the length of the saved G-Code string is exactly 255 bytes. I'll put a corrected program version to my website tomorrow. Here is your corrected set-file.



Klaus
Title: Re: Machscreen creates corrupt files ?
Post by: budman68 on November 04, 2010, 05:17:19 AM
I know it's been said before, but I'm saying it again.

Klaus, you are indeed an excellent example of customer service, and for a FREE program!  8)

Thanks,
Dave
Title: Re: Machscreen creates corrupt files ?
Post by: tmead on November 04, 2010, 10:46:54 AM
Klaus - you're a star !

Many thanks for the incredibly prompt response !

Tim
Title: Re: Machscreen creates corrupt files ?
Post by: tmead on November 04, 2010, 12:25:33 PM
Hi Klaus,

I'm getting a 404 from your V1.44.5.exe download page ?

Tim
Title: Re: Machscreen creates corrupt files ?
Post by: Klaus1311 on November 04, 2010, 12:34:27 PM
Hi Tim,

I don't know what happend, the program-file was deleted on my website, sorry. I've uploaded it again, it should work now.


Klaus
Title: Re: Machscreen creates corrupt files ?
Post by: tmead on November 05, 2010, 10:12:00 AM
Many thanks Klaus - it worked a treat !

Just a thought - I'm an old fashioned keyboard user, and have noticed that I need to use the mouse to select from the drop down menus. For example, I can press Alt-F to get the file menu, but then there are no keyboard shortcuts to the menu items, and the cursor keys still move around the last selected object on the screen layout rather than scrolling up and down the list.

I'm no windows programmer, so I have no idea how big a deal this would be !

It's not particularly important, and I'm delighted with the editor as it is.

Tim
Title: Re: Machscreen creates corrupt files ?
Post by: Klaus1311 on November 05, 2010, 12:56:23 PM
Hi Tim,

due to the multi lingual concept I'm using, it would need a lot of work to implement the shortcuts. At the moment I don't see an chance to do that.

Klaus
Title: Re: Machscreen creates corrupt files ?
Post by: tmead on November 07, 2010, 10:24:24 AM
No worries - thanks for your efforts to produce and support the editor, it's great !

All I need to do is produce some satisfactory screens and code for our bespoke automation system now.

Tim