I added this to my g540.ini file in the HALUI section
MDI_COMMAND o<logpoint> CALL.
Then in in my PROGRAM_PREFIX directory (home//linuxcnc/nc_files)
I wrote logpoint.ngc containing:
o<logpoint> sub
(logopen, logfile.txt)
(log, #5420 #5421 #5422)
o<logpoint> endsub
m2
and created an empty file logfile.txt in the nc_files folder
What do I do to actually run the command? I get an 'unknown word' error typing logpoint into the MDI window. If I run the logpoint.ngc file from the main page nothing seems to happen.
I trried the links in Andy's post above and they went to 404 error pages.
Thanks. Like I said, I am no whiz at this stuff...