<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to CoDeSys 2.3.9.11 - Pointers in Visualization Placeholders</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/df8ddb9b8b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/df8ddb9b8b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/df8ddb9b8b/</id><updated>2020-02-27T19:23:35.374000Z</updated><subtitle>Recent posts to CoDeSys 2.3.9.11 - Pointers in Visualization Placeholders</subtitle><entry><title>CoDeSys 2.3.9.11 - Pointers in Visualization Placeholders</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/df8ddb9b8b/?limit=25#8ba5" rel="alternate"/><published>2020-02-27T19:23:35.374000Z</published><updated>2020-02-27T19:23:35.374000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com8951cce768b41daaf7c20f100325ce80f5db49bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;If you search the online help term placeholder, you can read some restrictions about the use of placeholder, like : &lt;/p&gt;
&lt;p&gt;"Pointer variables :  Pointer variables like PLC_PRG.pdw2^ cannot be monitored. This function will be realized with CoDeSys 3.0."&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>CoDeSys 2.3.9.11 - Pointers in Visualization Placeholders</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/df8ddb9b8b/?limit=25#0922" rel="alternate"/><published>2020-02-27T19:23:34.130000Z</published><updated>2020-02-27T19:23:34.130000Z</updated><author><name>trac</name><uri>https://forge.codesys.com/u/trac/</uri></author><id>https://forge.codesys.comb1431a1b2280755bad3367af1a07b0198a31b57b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Could you please tell me whether the following is a bug or a known limitation of the Visualization on some targets.&lt;/p&gt;
&lt;p&gt;I am creating Visualization placeholders and I am associating fields of a data structure with the displayed data, e.g.:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: blue;"&gt;TYPE EATON_PUMP_TUNEUP_VIS_DATA :&lt;br/&gt;
STRUCT&lt;br/&gt;
 var1 : POINTER TO BOOL;&lt;br/&gt;
 var2 : POINTER TO WORD; &lt;br/&gt;
 var3 : POINTER TO REAL;     &lt;br/&gt;
.....&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;END_STRUCT&lt;br/&gt;
END_TYPE&lt;/p&gt;
&lt;p&gt;and using it inside the visualization placeholder like this:&lt;/p&gt;
&lt;p&gt;&lt;span style="color: blue;"&gt;$EATON_PUMP_TUNEUP_VIS_DATA$.var1^&lt;br/&gt;
$EATON_PUMP_TUNEUP_VIS_DATA$.var2^&lt;br/&gt;
$EATON_PUMP_TUNEUP_VIS_DATA$.var3^&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Then, when I use this visualization placeholder I assign an instance of EATON_PUMP_TUNEUP_VIS_DATA to the placeholder.&lt;/p&gt;
&lt;p&gt;I need to used POINTER TO BOOL, rather than just BOOL, since I want to allow user input through these Visualization elements and also because the data populating the instance of EATON_PUMP_TUNEUP_VIS_DATA comes from more than 1 source.&lt;/p&gt;
&lt;p&gt;This works as I expected in Simulation Mode, but it doesn't work when I download the project to the real target: it only displays "???" and it doesn't accept any input.&lt;/p&gt;
&lt;p&gt;Would there be a workaround for this issue?&lt;/p&gt;
&lt;p&gt;Thank you&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>