<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Multiple VAR_IN_OUT_AS_POINTER in Dialog?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/0d21983ee2/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/0d21983ee2/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/0d21983ee2/</id><updated>2022-04-28T09:12:25.186000Z</updated><subtitle>Recent posts to Multiple VAR_IN_OUT_AS_POINTER in Dialog?</subtitle><entry><title>Multiple VAR_IN_OUT_AS_POINTER in Dialog?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/0d21983ee2/?limit=25#812f" rel="alternate"/><published>2022-04-28T09:12:25.186000Z</published><updated>2022-04-28T09:12:25.186000Z</updated><author><name>rmaas</name><uri>https://forge.codesys.com/u/rmaas/</uri></author><id>https://forge.codesys.comec015e8074eb2fc808fd80ad3a1c3b5b964acc1e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Issue is gone!&lt;/p&gt;
&lt;p&gt;after a Build -&amp;gt; Clean all and controller power cycle, the runtime is not crashing anymore.&lt;/p&gt;
&lt;p&gt;Everything works fine when putting {attribute 'VAR_IN_OUT_AS_POINTER'} before each variable declaration &lt;br/&gt;
(see Example2 in previous post)&lt;/p&gt;
&lt;p&gt;BR,&lt;br/&gt;
Rinie&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Multiple VAR_IN_OUT_AS_POINTER in Dialog?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/0d21983ee2/?limit=25#3b1b" rel="alternate"/><published>2022-04-26T14:31:01.395000Z</published><updated>2022-04-26T14:31:01.395000Z</updated><author><name>rmaas</name><uri>https://forge.codesys.com/u/rmaas/</uri></author><id>https://forge.codesys.com38504f3f735e147b371de221eab3a7b10faa733f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello all,&lt;/p&gt;
&lt;p&gt;In a WebVisu i am using a dialog as motor popup with the MTR_HMI DUT as VAR_IN_OUT using {attribute 'VAR_IN_OUT_AS_POINTER'}.&lt;/p&gt;
&lt;p&gt;as described here: &lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_pragma_var_in_out_as_pointer.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_pragma_var_in_out_as_pointer.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;This is working very well, but now i would like to make another dialog which uses multiple motor DUT's, the problem is only the first variable declared after {attribute 'VAR_IN_OUT_AS_POINTER'} is being treated as such...&lt;/p&gt;
&lt;p&gt;the other variables are not updated cyclically.&lt;/p&gt;
&lt;p&gt;I tried to put {attribute 'VAR_IN_OUT_AS_POINTER'} before each variable declaration but then the visualization runtime crashes as soon as i open the popup (dialog).&lt;/p&gt;
&lt;p&gt;Is there a solution to this problem? Is it possible at all?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;&lt;em&gt;System Config:&lt;br/&gt;
- RevolutionPi controller with Codesys Runtime Package 4.4.0.0 (Multicore)&lt;br/&gt;
- Codesys V3.5 SP18 + (64-bit)&lt;br/&gt;
- Codesys Visualization 4.1.0.0&lt;br/&gt;
&lt;/em&gt;&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>