# \#log-file

**URL:** https://tech-community.robotics.abb.com/tag/log-file/418.md

[Latest](https://tech-community.robotics.abb.com/latest.md) · [Categories](https://tech-community.robotics.abb.com/categories.md) · [Tags](https://tech-community.robotics.abb.com/tags.md)

---

## [Rename file using date at the end of the string. My code is included.](https://tech-community.robotics.abb.com/t/rename-file-using-date-at-the-end-of-the-string-my-code-is-included/7750)

<div class="topic-metadata">

**Author:** [@nezzreth](https://tech-community.robotics.abb.com/u/nezzreth)\
**Replies:** 7\
**Last updated:** [June 14, 2017, 9:13pm UTC](https://tech-community.robotics.abb.com/t/rename-file-using-date-at-the-end-of-the-string-my-code-is-included/7750 "2017-06-14T21:13:20Z")

</div>

I’m currently writing timestamped data to a text file. Then, pulling the data from the text file for an excel spreadsheet. I would like to be able to use a RESET event routine to save that text file with a new name using…

---

## [Log file for last position](https://tech-community.robotics.abb.com/t/log-file-for-last-position/7158)

<div class="topic-metadata">

**Author:** [@SteveMob](https://tech-community.robotics.abb.com/u/SteveMob)\
**Replies:** 0\
**Last updated:** [May 13, 2016, 3:24pm UTC](https://tech-community.robotics.abb.com/t/log-file-for-last-position/7158 "2016-05-13T15:24:28Z")

</div>

Hello, I was wondering if there was a way for RobotStudio/RAPID to write some sort of log file of: its current position in space and/or its last position? So that if an error occurs and the program stops, I know where t…
