Use (DEBUG, Var1 = #1) and they'll show up on the Status tab. Or use the LOGOPEN, LOGAPPEND, LOG, LOGCLOSE functions and provide your own file name.
Does anyone know where the print statement prints to ? Teh manual say it prints to STDERR but what is that ??
(PRINT, Var1 = #1)
(;-) TP
Similar Threads:
Use (DEBUG, Var1 = #1) and they'll show up on the Status tab. Or use the LOGOPEN, LOGAPPEND, LOG, LOGCLOSE functions and provide your own file name.
STDERR ends up being the normal log file for the pathpilot (the one that you end up sending to their techs if they troubleshoot.)
The (LOG) stuff was fixed relatively recently (PP 2.1+). It always worked, but the resulting file used to end up in a very awkward location. It now is put in the gcode folder as you'd expect. And relative folders work also if directory exists. (LOGOPEN, myprojectA/log.txt) vs. (LOGOPEN, myprojectB/log.txt)As "old-cnc-geek" mentions there are better methods but as I recall I didn't have any success with them so I just resort to the above.
Its easy to forget the comma after the command portion of the comment, but that's linuxcnc syntax.