584,863 active members*
4,918 visitors online*
Register for free
Login
Results 1 to 8 of 8
  1. #1
    Join Date
    Nov 2021
    Posts
    35

    Create a file log

    Good morning everyone,
    another question:
    I need a file log for my work session.
    I used "logcreate" in my onstart script file, but I need everytime a new name file for not overwrite the last one.
    How can I resolve it?
    thank's
    L.

  2. #2
    Join Date
    Mar 2017
    Posts
    1295

    Re: Create a file log

    Easiest way is probably this:
    #<dt> = DATETIME[]
    (logcreate,MyFile#<dt>.txt)

    I'll add come helpers in next TNG version.

  3. #3
    Join Date
    Nov 2021
    Posts
    35

    Re: Create a file log

    yes, it's look very simple, i'll try soon!
    thank's

  4. #4
    Join Date
    Mar 2017
    Posts
    1295

    Re: Create a file log

    New version will support this:
    (print,datetime is: $<datetime>)
    (print,time is: $<time>)
    (print,date is: $<date)
    So it will be even easier to print or create files with dates and times.

  5. #5
    Join Date
    Nov 2021
    Posts
    35

    Re: Create a file log

    good choice...

  6. #6
    Join Date
    Nov 2021
    Posts
    35

    Re: Create a file log

    I'm, sorry, but I can't find the command for the log function.
    In my log file can I create a log with the name of loaded G-code file?

  7. #7
    Join Date
    Mar 2017
    Posts
    1295

    Re: Create a file log

    I'll add this feature in next version. New variables will be:
    $<filepath>
    $<filename>
    $<fileext>
    $<profilepath>
    $<profilename>

  8. #8
    Join Date
    Nov 2021
    Posts
    35

    Re: Create a file log

    So, I can't use now, correct?
    I'll waiting for next version...

Similar Threads

  1. Newlines in log file
    By kstrauss in forum Tormach PathPilot™
    Replies: 14
    Last Post: 10-10-2019, 06:00 PM
  2. Reset Log file?
    By BanduraMaker in forum UCCNC Control Software
    Replies: 5
    Last Post: 07-02-2019, 07:46 PM
  3. Log file
    By Farmers Machine in forum CamSoft Products
    Replies: 1
    Last Post: 12-20-2011, 02:06 PM
  4. mazak log file
    By NCexplorer in forum Mazak, Mitsubishi, Mazatrol
    Replies: 0
    Last Post: 01-28-2011, 12:14 PM
  5. Log file question...
    By murphy625 in forum CamSoft Products
    Replies: 9
    Last Post: 04-05-2005, 10:12 PM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •