<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Using wildcards with SysLibFile.lib</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/64c91ec10b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/64c91ec10b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/64c91ec10b/</id><updated>2024-03-13T06:56:31.472000Z</updated><subtitle>Recent posts to Using wildcards with SysLibFile.lib</subtitle><entry><title>Using wildcards with SysLibFile.lib</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/64c91ec10b/?limit=25#58e7" rel="alternate"/><published>2024-03-13T06:56:31.472000Z</published><updated>2024-03-13T06:56:31.472000Z</updated><author><name>markl</name><uri>https://forge.codesys.com/u/markl/</uri></author><id>https://forge.codesys.comfd2d1af73c3f792c660383bf383118c06bb00bd4</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I don't have an answer but I was wondering if you have found out more about using wildcards in Codesys?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Using wildcards with SysLibFile.lib</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/64c91ec10b/?limit=25#2c8a" rel="alternate"/><published>2020-02-27T21:38:26.663000Z</published><updated>2020-02-27T21:38:26.663000Z</updated><author><name>A.Emmerich</name><uri>https://forge.codesys.com/u/a-emmerich/</uri></author><id>https://forge.codesys.com7b33ac9b06f0cb64c4b92401c030001c413c7350</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am trying to open (and subsequently write to) a file on SD card using a standard path.&lt;br/&gt;
So instead of:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;CONCAT&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/media/SA08G_0x4431264e/77616767/Logs/PLC_log'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="nt"&gt;PLC_DATE&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;CONCAT&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'.log'&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;FileID&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nt"&gt;SysFileOpen&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'a'&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I would like to use something like:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;CONCAT&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="s1"&gt;'/media/*/*/Logs/PLC_log'&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="nt"&gt;PLC_DATE&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;:=&lt;/span&gt;&lt;span class="nt"&gt;CONCAT&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'.log'&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;span class="nt"&gt;FileID&lt;/span&gt; &lt;span class="o"&gt;:=&lt;/span&gt; &lt;span class="nt"&gt;SysFileOpen&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nt"&gt;FileName&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;&lt;span class="s1"&gt;'a'&lt;/span&gt;&lt;span class="o"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Is this at all possible using SysLibFile.lib.&lt;br/&gt;
If not, does anyone know of another library which I may use which provides for this functionality?&lt;/p&gt;
&lt;p&gt;Thanks.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>