<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Web Visu - Multiple CLient instances.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/</id><updated>2022-11-06T22:56:10.517000Z</updated><subtitle>Recent posts to Web Visu - Multiple CLient instances.</subtitle><entry><title>Web Visu - Multiple CLient instances.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/?limit=25#8d1a" rel="alternate"/><published>2022-11-06T22:56:10.517000Z</published><updated>2022-11-06T22:56:10.517000Z</updated><author><name>rickj</name><uri>https://forge.codesys.com/u/rickj/</uri></author><id>https://forge.codesys.comb095fe8bbb9a55313b2f073577aaa3dd8f60c457</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Essentially you have to do the "session management" yourself.  Any variables used to manage screens/sessions need to be arrays indexed by the client id.  &lt;/p&gt;
&lt;p&gt;For example I've declared the following variable on one of my main screens.  The screen contains a Frame set and I use Frame&lt;span&gt;[VisuElemBase.CurrentClientId]&lt;/span&gt; to select the desired frame.  Each client has its own id an so each can be independently viewing frame.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;VAR&lt;/span&gt;
&lt;span class="err"&gt;    Frame           : ARRAY [0..gHMI.MAXCLIENTS] OF USINT;&lt;/span&gt;
&lt;span class="err"&gt;END_VAR&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The same has to be done for any variables used to manage screens for a specific client. &lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - Multiple CLient instances.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/?limit=25#0623" rel="alternate"/><published>2022-10-07T04:08:04.556000Z</published><updated>2022-10-07T04:08:04.556000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.comd470fa5a99e642cd787e23f870c20fdef2ed4a7d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;sure..there is an example here on forge I guess&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Web Visu - Multiple CLient instances.</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/926e910a1d/?limit=25#5e74" rel="alternate"/><published>2022-10-07T03:11:08.165000Z</published><updated>2022-10-07T03:11:08.165000Z</updated><author><name>arrotek</name><uri>https://forge.codesys.com/u/arrotek/</uri></author><id>https://forge.codesys.com1ae61ed6fbc5b31b048977cbc2edd6ba9cea698e</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Does anyone know if it is possible to connect to same instance of Web Visu from two different remote computers and have the ability to view different web pages in each of the remote computers.&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>