<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/</id><updated>2023-02-28T16:25:40.120000Z</updated><subtitle>Recent posts to Execution of code in a frame background</subtitle><entry><title>Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/?limit=25#d9a9/5f13" rel="alternate"/><published>2023-02-28T16:25:40.120000Z</published><updated>2023-02-28T16:25:40.120000Z</updated><author><name>automatisme</name><uri>https://forge.codesys.com/u/automatisme/</uri></author><id>https://forge.codesys.comdb4771b69eccd96dc0aedcef956d046c8a3c0aec</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Yep. Normaly with this I should be able to do wathever I need!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/?limit=50#d9a9" rel="alternate"/><published>2023-02-28T16:09:43.763000Z</published><updated>2023-02-28T16:09:43.763000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comf0bdf9930552401a4a14832537e6034c101f7ad3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You can access external variables by using VAR_IN_OUT.  Depending on how fancy you need to get, you could even declare a function block in the visu itself and call methods of it in the same way.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/?limit=25#3ade/b5da" rel="alternate"/><published>2023-02-28T15:55:08.077000Z</published><updated>2023-02-28T15:55:08.077000Z</updated><author><name>automatisme</name><uri>https://forge.codesys.com/u/automatisme/</uri></author><id>https://forge.codesys.com95de4aadbafb42fee4f79e242e428e58fa1553ce</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Great!&lt;/p&gt;
&lt;p&gt;However, the created program does not have access to the internal variables of the visualization. Is there a way to access them?&lt;/p&gt;
&lt;p&gt;Thanks in any case, this should help me out.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/?limit=50#3ade" rel="alternate"/><published>2023-02-28T15:37:03.717000Z</published><updated>2023-02-28T15:37:03.717000Z</updated><author><name>tvm</name><uri>https://forge.codesys.com/u/tvm/</uri></author><id>https://forge.codesys.comfae03c11080ee0d47e521d90ccac448845f5f00c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I've done this by creating a function with return type BOOL, then calling the function from an element in its State variables/Invisible property.  &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Execution of code in a frame background</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/756e98d524/?limit=25#99c7" rel="alternate"/><published>2023-02-28T09:09:10.464000Z</published><updated>2023-02-28T09:09:10.464000Z</updated><author><name>automatisme</name><uri>https://forge.codesys.com/u/automatisme/</uri></author><id>https://forge.codesys.com390027bc81c7824cdc0e33b66ab596c26c58606b</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to run the program in a frame, in a continuous way?&lt;/p&gt;
&lt;p&gt;For example, to animate an element with something else than a boolean (update the result of an equation in a boolean that will be used to animate an element)&lt;/p&gt;
&lt;p&gt;Or to return the value of a constant defined in the frame to the automaton program in a permanent way (in order to have a "CURRENTFRAME" variable, as we have a "CURRENTVISU", to inform the main program which frame is displayed)&lt;/p&gt;
&lt;p&gt;Any idea?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>