<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/</id><updated>2021-08-07T13:34:56.099000Z</updated><subtitle>Recent posts to Webvisu : know ip of current user </subtitle><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#4e14" rel="alternate"/><published>2021-08-07T13:34:56.099000Z</published><updated>2021-08-07T13:34:56.099000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.comd7d9f962dc6f485964dd5dd1d2ab9884d37eb691</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Some boby can help me to add resolution detection with project example "Visu Util Iterate" ?&lt;br/&gt;
I don't understand how work method and pointer THIS ou SUPER ?&lt;br/&gt;
I this resolution are in "pClient.pClient^.rClientRect.ptBottomRight.iX or iY, but how catch them ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#5e4c" rel="alternate"/><published>2021-07-06T12:14:49.540000Z</published><updated>2021-07-06T12:14:49.540000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com21f584de5d9bc7de07db525d75d9a058c6d33ada</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;&lt;a href="https://forge.codesys.com/prj/codesys-example/responsive-desi/home/Home/"&gt;https://forge.codesys.com/prj/codesys-example/responsive-desi/home/Home/&lt;/a&gt; shows how to react to new clients resolution.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#a1c6" rel="alternate"/><published>2021-07-05T11:14:44.114000Z</published><updated>2021-07-05T11:14:44.114000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.com6a0cec99cae691d014286a504fd7ed3ec775ee0d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Very good code ! It work fine !&lt;br/&gt;
Is it possible to know resolution of client's screen to adjust display ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#3b35" rel="alternate"/><published>2021-07-05T05:26:46.531000Z</published><updated>2021-07-05T05:26:46.531000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.coma8b09cd4cbb9aebb2ddbb64bc51f98c61eeaf503</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello &lt;a class="user-mention" href="/u/galexis/"&gt;@galexis&lt;/a&gt;,&lt;br/&gt;
attached you can find an example applicaiton using visu utils (note this example is not made by me but it works fine)&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#e819" rel="alternate"/><published>2021-07-04T16:12:47.626000Z</published><updated>2021-07-04T16:12:47.626000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.com2ab9cfd95c4c5f4fc5476dd6899b0b6e3f1872c7</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;VisuElems.g_ClientManager.BeginIteration();&lt;/span&gt;
&lt;span class="err"&gt;//Détection les adresses iP des clients connectés &lt;/span&gt;
&lt;span class="err"&gt;WHILE (pClient := VisuElems.VisuElemBase.g_ClientManager.GetNextClient()) &amp;lt;&amp;gt; 0 DO&lt;/span&gt;
&lt;span class="err"&gt;    IF pClient^.GlobalData.ClientType = VisuElems.VisuElemBase.Visu_ClientType.WebVisualization THEN&lt;/span&gt;
&lt;span class="err"&gt;        helper(pClientData := pClient);&lt;/span&gt;
&lt;span class="err"&gt;        IP_temp[PRG_IP_CLIENT.pClient^.GlobalData.GlobalClientID]:=helper.stIPv4;&lt;/span&gt;
&lt;span class="err"&gt;    END_IF&lt;/span&gt;
&lt;span class="err"&gt;END_WHILE&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The solution use GetNextClient, but SP17 produce a warning. This method is obsolete. How replace this by VisuUtils ?&lt;br/&gt;
I don't find in library VisuUtils....What is the real name ?&lt;/p&gt;
&lt;p&gt;This solution don't detect if codesys softwar is connected to webvisu: is it possible to detect it ?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#dac2" rel="alternate"/><published>2021-06-19T13:18:45.262000Z</published><updated>2021-06-19T13:18:45.262000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.comc74d9b5f85fbbf2126f15db3c708f1bb746c6206</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Is it possible to know name of computer?&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=250#2c31" rel="alternate"/><published>2021-05-27T07:46:24.009000Z</published><updated>2021-05-27T07:46:24.009000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.comd3cf84618402772113b5ca7b1f9ccacfe908e22d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;👌👍&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#bacb" rel="alternate"/><published>2021-05-27T06:07:57.505000Z</published><updated>2021-05-27T06:07:57.505000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.com44aa653345b0f0ec317301c7180a3f16b718d4f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;I put in array of string value of iP from variable S1 :&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="err"&gt;MyArray[pClient^.GlobalData.GlobalClientID].my_iP := s1;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Thank you very much.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=250#cc89" rel="alternate"/><published>2021-05-23T11:18:24.741000Z</published><updated>2021-05-23T11:18:24.741000Z</updated><author><name>dkugler</name><uri>https://forge.codesys.com/u/dkugler/</uri></author><id>https://forge.codesys.com3059bde0778730da3a5ce7e341156db7f19bff5d</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;extend the s1 variable to an array of strings.&lt;br/&gt;
Then increase the index after the ip is ccopied to s1&lt;span&gt;[i]&lt;/span&gt; in the while loop.&lt;br/&gt;
The while loop iterates trough all filtered web visu clients.&lt;br/&gt;
Important hint: Don't miss to reset the index before starting the iteration loop ;-)&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Webvisu : know ip of current user </title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/ad0de37972/?limit=25#588b" rel="alternate"/><published>2021-05-23T07:46:24.825000Z</published><updated>2021-05-23T07:46:24.825000Z</updated><author><name>galexis</name><uri>https://forge.codesys.com/u/galexis/</uri></author><id>https://forge.codesys.comf11796b3929b2fb059c2534dfd43063cba49a945</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;br/&gt;
ok it work for the highter CurrentClientId, but I want store IP for heach client ID in array.&lt;br/&gt;
How can I do this ?&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>