<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/</id><updated>2021-05-06T08:34:24.707000Z</updated><subtitle>Recent posts to Variables $placeholders$ in visualisations, like in v.2.x ?</subtitle><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#273d" rel="alternate"/><published>2021-05-06T08:34:24.707000Z</published><updated>2021-05-06T08:34:24.707000Z</updated><author><name>Chris.O</name><uri>https://forge.codesys.com/u/chris-o/</uri></author><id>https://forge.codesys.comda21abae59b390fd89ef3de2cb2578a787e9bba9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;some time ago I had the same problem. My last information was that this placeholders are not longer available. &lt;br/&gt;
As alternative we use Structs.&lt;br/&gt;
Mean:&lt;br/&gt;
We create a visualization makro and use there a Struct like "Drive_x". Inside this struct we have than e.g. Start:Bool;&lt;br/&gt;
This struct you can declare inside this Makro as VAR_IN_OUT. So inside the Marko you can then use the declared Makro. From outside you can then use a struct as interface.&lt;/p&gt;
&lt;p&gt;Attached you can find a short example.&lt;/p&gt;
&lt;p&gt;If this placeholders exist again... please inform me :-)&lt;/p&gt;
&lt;p&gt;BR Chris&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#1fea" rel="alternate"/><published>2021-04-26T21:25:07.486000Z</published><updated>2021-04-26T21:25:07.486000Z</updated><author><name>jcodesysb</name><uri>https://forge.codesys.com/u/jcodesysb/</uri></author><id>https://forge.codesys.comf4d90b51cdf3185c4d372b6d6c87bcc69b6ba5ae</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;With CODESYS V3 there is no placeholder.&lt;br/&gt;
But you have an interface editor for each visualization page where you can define variables, like for Function, Function Block, ...&lt;br/&gt;
To open or close this space click on the small edges at the top of the display page.&lt;br/&gt;
Then when you install your page in a frame of another page you can associate these internal variables with the variables of your application. &lt;br/&gt;
It's more flexible and practical.&lt;br/&gt;
BR&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#70f7" rel="alternate"/><published>2021-04-26T10:54:53.709000Z</published><updated>2021-04-26T10:54:53.709000Z</updated><author><name>hence.persson</name><uri>https://forge.codesys.com/u/hence-persson/</uri></author><id>https://forge.codesys.com5ed9e8dc080999e30d87923ca003013ed266603e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I don't think so BUT you have the possibility to give in/out variables to a visu..&lt;/p&gt;
&lt;p&gt;This could be used for example making valve faceplates then connecting them to the corresponding valve object.. &lt;/p&gt;
&lt;p&gt;If you have your valves in an array you could have a input variable valve no and have the visu connected to the valve array and get a somewhat equal behaviour as you describe..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#3b8e" rel="alternate"/><published>2021-04-25T18:27:17.883000Z</published><updated>2021-04-25T18:27:17.883000Z</updated><author><name>onstage</name><uri>https://forge.codesys.com/u/onstage/</uri></author><id>https://forge.codesys.comde0a31cc595679dbe4f88edbdbe28f9e964e1fbb</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Being back at this very project the question regarding placeholders still arises. My German ist quite weak , but from what I've managed to read in German-speaking forums the function doesn't exist in V3.xxx. I've played around with various uses of input variables and pragmas of the visu, but can't achieve my goal. Can someone with knowledge please verify that this is the case, so I can break down and carry on with my life? &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#6f8f" rel="alternate"/><published>2020-12-15T20:30:12.195000Z</published><updated>2020-12-15T20:30:12.195000Z</updated><author><name>onstage</name><uri>https://forge.codesys.com/u/onstage/</uri></author><id>https://forge.codesys.coma8d69ab1050478072bb3faabcb9cf13fab12c15a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Dear Morberis, Perhaps i expressed myself a bit unclear. What I would like to achieve is a placeholder for a part of the variable name, just like pnn wrote. &lt;/p&gt;
&lt;p&gt;In my case the POU:s are named P_Axis01..P_Axis24. Displaying the same variable from each POU was super easy in CoDeSys 2. Just insert a placeholder within dollar-signs in the element attribute and then choose what the placeholder should be substituted with in that entire visu. E.g. P_Axis$ID$ could be substituted with 01..24 at runtime.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#5b7e/af5d" rel="alternate"/><published>2020-12-15T15:05:11.809000Z</published><updated>2020-12-15T15:05:11.809000Z</updated><author><name>Morberis</name><uri>https://forge.codesys.com/u/morberis/</uri></author><id>https://forge.codesys.com4e42002888887c5b70c7aea6697e9742088e185c</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a class="" href="https://help.codesys.com/webapp/_visu_placeholder_with_formatting_sequence_in_a_string;product=core_visualization;version=3.5.16.0" rel="nofollow"&gt;Here you go&lt;/a&gt;. If you can't seem to find it in the &lt;a class="" href="https://help.codesys.com/" rel="nofollow"&gt;help file&lt;/a&gt; just search a visualization element type like 'Rectangle' and look 'Text' for a link to the placeholders. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#5b7e" rel="alternate"/><published>2020-12-15T13:48:44.088000Z</published><updated>2020-12-15T13:48:44.088000Z</updated><author><name>onstage</name><uri>https://forge.codesys.com/u/onstage/</uri></author><id>https://forge.codesys.com2e6b163848c0c674057e46cce3502cfeafede931</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Trying to do exactly the same thing as pnn, having 24 identical POU:s which I would like to interface with just one VISU so I don't have to change in 24 places when customer has ideas of look-and-feel. Using frame I've managed to switch visualization, but that doesn't make this a walk in the park. (Which Codesys 2.3 would have done using the placeholders)&lt;br/&gt;
Can anyone point me in the right direction?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#e02b" rel="alternate"/><published>2020-02-27T18:08:53.038000Z</published><updated>2020-02-27T18:08:53.038000Z</updated><author><name>JAPIB</name><uri>https://forge.codesys.com/u/japib/</uri></author><id>https://forge.codesys.com9a09628cb99d2258183bbe32efa7b5045e7622bc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello&lt;/p&gt;
&lt;p&gt;Each visualization page has an interface (like FB) on witch you can define variables.&lt;br/&gt;
To do this select the command Visualization ➔  Interface editor &lt;br/&gt;
Uses this variables to set your animation on the visualization.&lt;/p&gt;
&lt;p&gt;When you place this visualization like a frame, you can acces this variables by reference properties and affect the value or the variables from your application.&lt;/p&gt;
&lt;p&gt;You have to read the Help file "CODESYS Visualisation", chapter "Creating a Structured User Interface", su chapter "Calling Visualization with Interface".&lt;/p&gt;
&lt;p&gt;Best regard&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Variables $placeholders$ in visualisations, like in v.2.x ?</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/f7e7c7fe6a/?limit=25#5d6c" rel="alternate"/><published>2020-02-27T18:08:51.974000Z</published><updated>2020-02-27T18:08:51.974000Z</updated><author><name>pnn</name><uri>https://forge.codesys.com/u/pnn/</uri></author><id>https://forge.codesys.come7e89219ca81a406ecc9dbd4b0185ada7f890e83</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;in Codesys 2.3 it's possible to use placeholders in visu elements configuration, that is to define a variable like this&lt;/p&gt;
&lt;p&gt;Drive_$x$.Start&lt;/p&gt;
&lt;p&gt;Then if we specify that x should be 5 for a specific visu, the above becomes Drive_5.Start&lt;/p&gt;
&lt;p&gt;Is it possible to do the same in v.3.5.x ? I can't see it anywhere.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>