Create a file log

Results 1 to 8 of 8

Thread: Create a file log

  1. #1
    Member Clyde_IT's Avatar
    Join Date
    Nov 2021
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default 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.

    Similar Threads:


  2. #2
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default 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
    Member Clyde_IT's Avatar
    Join Date
    Nov 2021
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default Re: Create a file log

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



  4. #4
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default 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
    Member Clyde_IT's Avatar
    Join Date
    Nov 2021
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default Re: Create a file log

    good choice...



  6. #6
    Member Clyde_IT's Avatar
    Join Date
    Nov 2021
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default 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
    Member PlanetCNC's Avatar
    Join Date
    Mar 2017
    Location
    Slovenia
    Posts
    1304
    Downloads
    0
    Uploads
    0

    Default Re: Create a file log

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



  8. #8
    Member Clyde_IT's Avatar
    Join Date
    Nov 2021
    Posts
    35
    Downloads
    0
    Uploads
    0

    Default Re: Create a file log

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



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
  •  


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Create  a file log

Create  a file log