<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Write CSV file to Revolution PI connect</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/87d5a8d3ba/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/87d5a8d3ba/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/87d5a8d3ba/</id><updated>2022-02-16T11:27:25.300000Z</updated><subtitle>Recent posts to Write CSV file to Revolution PI connect</subtitle><entry><title>Write CSV file to Revolution PI connect</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/87d5a8d3ba/?limit=25#c1ea" rel="alternate"/><published>2022-02-16T11:27:25.300000Z</published><updated>2022-02-16T11:27:25.300000Z</updated><author><name>revpiproject</name><uri>https://forge.codesys.com/u/revpiproject/</uri></author><id>https://forge.codesys.comf40ee04d9a059ef609060f24a3abf86e51869b9a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
I am having some problem with writing a CSV file to the connect + using CodeSys.&lt;br/&gt;
Currently I am using the function block CSV.Init, and the FB shows either xerror "19" or "Cannot_get_file_size".&lt;br/&gt;
Does anyone have any idea to what the problem could be?&lt;/p&gt;
&lt;p&gt;The following is set up to the FB CSV.init&lt;/p&gt;
&lt;p&gt;xExecute: "TRUE";&lt;br/&gt;
sDirectorypath: "/root/"&lt;br/&gt;
sFileName: "JustTesting.csv"&lt;br/&gt;
sColumSeparator: ";"&lt;br/&gt;
rCSVWriter: "gCSVWriter" -&amp;gt; where gCSVWriter is set as CSV.CSVWriter; in the program var.&lt;/p&gt;
&lt;p&gt;Also tried with many other paths, but got the same error.&lt;br/&gt;
Do anyone have a suggestion for a path that should work, or other alternatives for what it could be?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>