<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/</id><updated>2020-08-03T12:15:38.256000Z</updated><subtitle>Recent posts to GetTextProperty("Project") - What am I doing wrong?</subtitle><entry><title>GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/?limit=25#87ff" rel="alternate"/><published>2020-08-03T12:15:38.256000Z</published><updated>2020-08-03T12:15:38.256000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com77c1dc030655cca6733a9aa8091101ba9c36cf55</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I am not sure if you can read up on it, except here in this thread (at least it is now the third highest ranked link on google for CODESYS __POOL)&lt;br/&gt;
I have passed on the info so it can be documented.  I can't wait, this is a really important keyword.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/?limit=25#6b60" rel="alternate"/><published>2020-08-02T13:11:55.656000Z</published><updated>2020-08-02T13:11:55.656000Z</updated><author><name>S1ack</name><uri>https://forge.codesys.com/u/s1ack/</uri></author><id>https://forge.codesys.com1b9825afa0559a61365c10f732c5e92c937b70a9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;i-campbell: Danke!&lt;/p&gt;
&lt;p&gt;&lt;a href="https://imgur.com/r01VgoO" rel="nofollow"&gt;&lt;img rel="nofollow" src="https://i.imgur.com/r01VgoO.png" title="source: imgur.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will have to read up about this.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/?limit=25#ffe5" rel="alternate"/><published>2020-08-02T07:27:50.002000Z</published><updated>2020-08-02T07:27:50.002000Z</updated><author><name>i-campbell</name><uri>https://forge.codesys.com/u/i-campbell/</uri></author><id>https://forge.codesys.com5527a4a2662c26812f48265f08b35d7ff9565689</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With shadowing rules, the similarly named function in the AlarmManager library takes precedence.&lt;/p&gt;
&lt;p&gt;To get the POU from your POUs view, prepend __POOL&lt;/p&gt;
&lt;p&gt;So __POOL.GetTextProperty()&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/?limit=25#5c4d" rel="alternate"/><published>2020-08-01T00:25:44.669000Z</published><updated>2020-08-01T00:25:44.669000Z</updated><author><name>nothinrandom</name><uri>https://forge.codesys.com/u/nothinrandom/</uri></author><id>https://forge.codesys.com9efea1f928c0b260b7ca19854bdd9e96d5e7933c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;@S1ack, I am not familiar with using this method, but I have used a library called "CmpApp".  Inside, there are structs to get information for both "APPLICATION_INFO" and "PROJECT_INFO".  There's a function called "AppGetProjectInformation" that will allow you to extract this unless I am incorrectly understanding your request.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>GetTextProperty("Project") - What am I doing wrong?</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/430ce85d23/?limit=25#fd0f" rel="alternate"/><published>2020-07-31T18:23:53.053000Z</published><updated>2020-07-31T18:23:53.053000Z</updated><author><name>S1ack</name><uri>https://forge.codesys.com/u/s1ack/</uri></author><id>https://forge.codesys.com532f5b5c914fe0381e45fb185f34d24ad0c5afac</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I wish to display project file name on a web visu.&lt;br/&gt;
Added Project Information to POUs, and enabled the Automatically generate 'Project Information' POUs.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://imgur.com/9gkCs52" rel="nofollow"&gt;&lt;img rel="nofollow" src="https://i.imgur.com/9gkCs52.png" title="source: imgur.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I call this function from an ST task that is called on the System Event 'StartDone'.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://imgur.com/6XckEkH" rel="nofollow"&gt;&lt;img rel="nofollow" src="https://i.imgur.com/6XckEkH.png" title="source: imgur.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Yet it returns "AlarmManager" as the text.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://imgur.com/m42fVA8" rel="nofollow"&gt;&lt;img rel="nofollow" src="https://i.imgur.com/m42fVA8.png" title="source: imgur.com"/&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I have searched and found no solution.&lt;br/&gt;
I do not have multiple hits on GetTextProperty i.e. it is not ambiguous so far as I can tell.&lt;/p&gt;
&lt;p&gt;CoDeSys is 3.5.16.10&lt;br/&gt;
Target is Wago PFC200 updated to 3.5.16.10 &lt;/p&gt;
&lt;p&gt;Any help appreciated. It's got to be my own stupidity.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>