Is there a limit how long a string from the gcode can be read , I have programs names nested 3 levels deep and some of the names are wordy , So I assume a long string .
I use a string obtained from the gcode to display a image on the screen , but if it goes over a certain number of characters it comes up with a error.
string m130 = exec.Getcurrgcodelinetext();
string output = m130.Split('(', ')')[1];
string Path = @"D:\g kod\forum\has\"+ output; // put your path folder for images between quotations