End of line linux vs windows

So , I just got my first laser cut but I found the next issue, which is a basic one but affect the funcionality and I am trying to see if some else Got the same issue.

When I save the file in LightBurn the printer just keep in circules doing nothing, What I did , I just opened the file again in LaserGRBL and saved as and the printer started working, So I just compared both files, the only different at the begining looks the comments but also at the EOL character
LightBurn :
G1 X1.25F3000S0

LaserGRBL:
G1 X1.25F3000S0^M

That EOL make a lot of difference , Laser is creality falcon 10W

Found this,…
In GRBL, the sequence ^M (Control-M) is typically interpreted as a pause or stop command for the CNC machine, similar to a Feed Hold or Cycle Start command. It interrupts the current G-code program and allows the operator to examine the machine or make adjustments.
…so I have no idea why it is peppered through your code.

Was your machine supplied with an .LBDEV file for the laser?

yes, I loaded the file that comes with the printer in linux, but keeps doing the same.It worked with the original file that comes in the usb , but after making changes stopped working. In fact I have another issues since the /dev/ttyACM0 port does not open by default I had to assign it rw rights , but even with that I can not connect with the printer, I am using the usb directly.

dos2unix and/or unix2dos are your friend in this situation

1 Like

So is not making changes without documenting them.

I made change to the image not the configuration

This should have nothing to do with your machine problems.

When I made change to the images it was saved on LB on linux, it was when the problem started. So I realized it was something todo with the way it was saved.

I know those but I wonder why it was affected for that

You do not save the image on Lightburn. You can save the image as part of a Lightburn file. If you traced the image, the trace is no longer an image file, but a vector file.

Can you tell us how you saved it?

just did File->Save Gcode and that was all.

You only save the GCode text if you need to copy it to another media and load it into the laser. None of your settings or image information is saved in this format. It is purely for running the laser.

You should use File->Save As to save all your drawing work. When you later load it in, the settings, layers, and tool paths will be the same as you left it.

3 Likes

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.