Welcome! Log In Create A New Profile

Advanced

Repetier freeze and make layers bug

Posted by Ghunt 
Repetier freeze and make layers bug
April 24, 2012 05:47PM
Hello Repetier,

I don't know if you remember but I had some freezing problems long ago. repetier_firmware_n_host.

Guess what!? Lol I'm kidding...

Yes, well, I do have those problems back:confused smiley
System.ArgumentOutOfRangeException: ArgRange_Array
Parameter name: count
  at System.Text.ASCIIEncoding.GetCharCount (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] in :0 
  at System.Text.Encoding.GetChars (System.Byte[] bytes, Int32 index, Int32 count) [0x00000] in :0 
  at System.IO.Ports.SerialPort.ReadExisting () [0x00000] in :0 
  at (wrapper remoting-invoke-with-check) System.IO.Ports.SerialPort:ReadExisting ()
  at RepetierHost.model.PrinterConnection.ReadThread () [0x00000] in :0 
System.ArgumentOutOfRangeException: ArgRange_Array

I do have some freeze some time to time and some layer are shitting a bit.

I do remember some troube with mono.

I remember a discution also about speed, but I did some mistake in this conversation mixing mm/min by mm/sec.
So I had some really slow impressions, but it was working fine. And then I tried to go faster => for instance 75mm/s (4500mm/min) and I've got the craches back...

I'm using the lastest firmware and host released.

Thank you again for your work!

Edited 1 time(s). Last edit at 04/24/2012 05:48PM by Ghunt.
Re: Repetier freeze and make layers bug
April 25, 2012 04:19AM
The problem is the mono library for serial communication. I remember I have added a catch so the host doesn't crash and the firmware hopefully requests a resend on missing data. To solve the problem, you need a mono version without the error if it exists. The best you could do is install Mono 2.10.8. Compile it directly or find a backport for your linux version and hope it is fixed.

The problem with speed wasn't the movement speed, but communication speed. At least mono on mac wasn't able to handle non ansi speeds. I'm not sure how they work with linux. Ansi speeds are 57600,115200 and some more.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier freeze and make layers bug
April 25, 2012 06:39AM
Thanks again.

I will definitely try that. (by the way, I'm using 57600 speed.

I guess I will also try the windows host if it work without the GPL problems.

thanks again for answering,
Re: Repetier freeze and make layers bug
April 25, 2012 06:50AM
Ghunt Wrote:
-------------------------------------------------------
> Thanks again.
>
> I guess I will also try the windows host if it
> work without the GPL problems.
What are GPL problems? The .NET framework is free to use. No restrictions on what you run it with.


Repetier-Software - the home of Repetier-Host (Windows, Linux and Mac OS X) and Repetier-Firmware.
Repetier-Server - the solution to control your printer from everywhere.
Visit us on Facebook and Twitter!
Re: Repetier freeze and make layers bug
April 25, 2012 08:33AM
Lol, no, I wanted to say OpenGL problem... Sorry for that, that the problem when you work in the same time than you answer to an email or on a forum.

Anyway, thanks,
Sorry, only registered users may post in this forum.

Click here to login