# How to make log file which is setted by custom? (realtimedata.csv)

**URL:** <https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437>\
**Category:** Technical Questions\
**Created:** [February 23, 2022, 6:40am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437 "2022-02-23T06:40:13Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)\
**Post date:** [February 23, 2022, 6:40am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/1 "2022-02-23T06:40:13Z")

</div>

hello

How to make log file which is setted by custom? (realtimedata.csv)

I want to make log file which is specific period, specific start recording time.

Is it possible?

![image](https://us1.discourse-cdn.com/flex020/uploads/universal_robots/original/2X/d/d05a1fdde5e29b531b0b0aaf76ee7adc1b8b0901.png)

Thank you.

---

<div class="post-metadata">

**Author:** ![Ebbe](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/ebbe/32/1413_2.png) [@Ebbe](https://forum.universal-robots.com/u/Ebbe)\
**Post date:** [February 23, 2022, 8:58am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/2 "2022-02-23T08:58:48Z")

</div>

Hi @kseo,

You can use the Log Viewer. That is available [here](https://www.universal-robots.com/download/software-e-series/support/ur-log-viewer/log-viewer-v1210/)

Ebbe

---

<div class="post-metadata">

**Author:** ![mmi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mmi/32/691_2.png) [@mmi](https://forum.universal-robots.com/u/mmi)\
**Post date:** [February 23, 2022, 10:25am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/3 "2022-02-23T10:25:23Z")

</div>

You can use record example from [GitHub - UniversalRobots/RTDE\_Python\_Client\_Library: RTDE client library and examples](https://github.com/UniversalRobots/RTDE_Python_Client_Library)

```auto
usage: record.py [-h] [--host HOST] [--port PORT] [--samples SAMPLES]
                 [--frequency FREQUENCY] [--config CONFIG] [--output OUTPUT]
                 [--verbose] [--buffered] [--binary]

optional arguments:
  -h, --help show this help message and exit
  --host HOST name of host to connect to (localhost)
  --port PORT port number (30004)
  --samples SAMPLES number of samples to record
  --frequency FREQUENCY
                        the sampling frequency in Herz
  --config CONFIG data configuration file to use
                        (record_configuration.xml)
  --output OUTPUT data output file to write to (robot_data.csv)
  --verbose increase output verbosity
  --buffered Use buffered receive which doesn't skip data
  --binary save the data in binary format

```

---

<div class="post-metadata">

**Author:** ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)\
**Post date:** [February 23, 2022, 11:10am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/4 "2022-02-23T11:10:25Z")

</div>

Hello

I want to extract the log data without TCP/IP connection.

For Example, Using the UR magic file(BACKUP LOG HISTORY FILE) can extract ‘realtimedata.csv’ without TCP/IP connection.

But, The file is specific data when something like protected stop happened.

Thank you.

---

<div class="post-metadata">

**Author:** ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)\
**Post date:** [February 23, 2022, 11:11am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/5 "2022-02-23T11:11:08Z")

</div>

Hello

I want to extract the log data without TCP/IP connection.

For Example, Using the UR magic file(BACKUP LOG HISTORY FILE) can extract ‘realtimedata.csv’ without TCP/IP connection.

But, The file is specific data when something like protected stop happened.

Thank you.

---

<div class="post-metadata">

**Author:** ![mmi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mmi/32/691_2.png) [@mmi](https://forum.universal-robots.com/u/mmi)\
**Post date:** [February 23, 2022, 11:50am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/6 "2022-02-23T11:50:12Z")

</div>

You can use rtde python client on the robot, so it’s matter of preparing specific magic script.

---

<div class="post-metadata">

**Author:** ![kseo](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/kseo/32/2991_2.png) [@kseo](https://forum.universal-robots.com/u/kseo)\
**Post date:** [February 24, 2022, 2:49am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/9 "2022-02-24T02:49:41Z")

</div>

Hello mmi

Is it possible to use rtde python client on the robot activate stand alone?

The method which I am looking for can used need not to connect to any other computer.

Thank you.

---

<div class="post-metadata">

**Author:** ![mmi](https://sea2.discourse-cdn.com/flex020/user_avatar/forum.universal-robots.com/mmi/32/691_2.png) [@mmi](https://forum.universal-robots.com/u/mmi)\
**Post date:** [February 24, 2022, 10:28am UTC](https://forum.universal-robots.com/t/how-to-make-log-file-which-is-setted-by-custom-realtimedata-csv/19437/10 "2022-02-24T10:28:31Z")

</div>

Yes, there are no external dependencies in RTDE library. It connects directly to controller internal public interfaces.  
Copy github repository contents to the robot, and follow examples.
