<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Webvisualisation of a table using pointer</title><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3edc04e417/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3edc04e417/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/CODESYS-V2/thread/3edc04e417/</id><updated>2020-02-27T19:21:06.227000Z</updated><subtitle>Recent posts to Webvisualisation of a table using pointer</subtitle><entry><title>Webvisualisation of a table using pointer</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3edc04e417/?limit=25#339c" rel="alternate"/><published>2020-02-27T19:21:06.227000Z</published><updated>2020-02-27T19:21:06.227000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.com9f50ecbea641a85c65f32988b3cbb4fd97eebfef</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;there are ways to get it done, without pointers.&lt;br/&gt;
I always avoid pointers and try it to make it just in pure 61131 and some libraries (like oscat, not used in vis)&lt;br/&gt;
make it yourself with placeholders.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisualisation of a table using pointer</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3edc04e417/?limit=25#5eb8" rel="alternate"/><published>2020-02-27T19:21:04.887000Z</published><updated>2020-02-27T19:21:04.887000Z</updated><author><name>mpi</name><uri>https://forge.codesys.com/u/mpi/</uri></author><id>https://forge.codesys.com310b008775fbbd2a127a9a06b38240e42de62daa</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for this quick reply, though I would have preferred another one ..&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisualisation of a table using pointer</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3edc04e417/?limit=25#2dd6" rel="alternate"/><published>2020-02-27T19:21:01.468000Z</published><updated>2020-02-27T19:21:01.468000Z</updated><author><name>shooter</name><uri>https://forge.codesys.com/u/shooter/</uri></author><id>https://forge.codesys.come54373153945b378b53129c7230e3bf2e9599b0a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;a web vis is in java, and can not have pointers, as they must be in memeory and a webvis is on the PC.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisualisation of a table using pointer</title><link href="https://forge.codesys.com/forge/talk/Codesys%2520V2.3/thread/3edc04e417/?limit=25#5cb9" rel="alternate"/><published>2020-02-27T19:21:00.231000Z</published><updated>2020-02-27T19:21:00.231000Z</updated><author><name>mpi</name><uri>https://forge.codesys.com/u/mpi/</uri></author><id>https://forge.codesys.combe81c2e1bbf6396db6f6a6099b54fe9752de60dc</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I want to display 10 elements of an array of structure strucTab that has got 1000 elements using a table. I have then defined an pointer to an array of 10 elements of my structure and filled the Configure table/Table settings/Data Array with PLC_PRG.ptar1^&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;PROGRAM&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;PLC_PRG&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="nf"&gt;VAR&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nl"&gt;arr1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="k"&gt;ARRAY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;1..1000&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;OF&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;strucTab&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt;   &lt;/span&gt;&lt;span class="nl"&gt;ptar1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;POINTER&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;TO&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="k"&gt;ARRAY&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;1..10&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="w"&gt;  &lt;/span&gt;&lt;span class="k"&gt;OF&lt;/span&gt;&lt;span class="w"&gt; &lt;/span&gt;&lt;span class="n"&gt;strucTab&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="p"&gt;...&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="nl"&gt;ptar1&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;&lt;span class="n"&gt;ADR&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;arr1&lt;/span&gt;&lt;span class="o"&gt;[&lt;/span&gt;&lt;span class="n"&gt;k&lt;/span&gt;&lt;span class="o"&gt;]&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I can then display 10 elements from index k.&lt;br/&gt;
This code works fine in the Codesys environement but the table remains desperately empty with the webvisualisation, any idea ?&lt;/p&gt;
&lt;p&gt;Thank for your help&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>