<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Recording data to CSV files</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1be3dfd76e/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1be3dfd76e/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/1be3dfd76e/</id><updated>2020-02-27T14:31:04.926000Z</updated><subtitle>Recent posts to Recording data to CSV files</subtitle><entry><title>Recording data to CSV files</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/1be3dfd76e/?limit=25#7a4d" rel="alternate"/><published>2020-02-27T14:31:04.926000Z</published><updated>2020-02-27T14:31:04.926000Z</updated><author><name>ert</name><uri>https://forge.codesys.com/u/ert/</uri></author><id>https://forge.codesys.com506863b76a1761acb9e8d6469361cdb3e5088c8a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I need to trend and record some variables to a CSV file.&lt;br/&gt;
Data storing has to be roughly at every 10 seconds.&lt;br/&gt;
Trending and recording can be separate or can use common files.&lt;/p&gt;
&lt;p&gt;Is that possible with Codesys?&lt;br/&gt;
I found that Trace object can save data to CSV when placed inside a project (and not on Visualization). But is it possible to trigger that from code so that the record is automatic?&lt;br/&gt;
Or is there any other (better idea) for saving data to CSV files?&lt;/p&gt;
&lt;p&gt;My another concern is SD card wear, as the data is going to be stored every 10 seconds on an SD card.&lt;br/&gt;
I would like to minimise the possibility of deteriorating the SD card, so any good practices on that would be appreciated.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>