<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Bitmap live updating</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/05944abdb0/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Engineering/thread/05944abdb0/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Engineering/thread/05944abdb0/</id><updated>2020-02-27T13:49:05.196000Z</updated><subtitle>Recent posts to Bitmap live updating</subtitle><entry><title>Bitmap live updating</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/05944abdb0/?limit=25#1c40" rel="alternate"/><published>2020-02-27T13:49:05.196000Z</published><updated>2020-02-27T13:49:05.196000Z</updated><author><name>eschwellinger</name><uri>https://forge.codesys.com/u/eschwellinger/</uri></author><id>https://forge.codesys.com0f00443de00e1546e56b1cb8c95b7b8454e18e67</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;this is only possible with a setting:&lt;/p&gt;
&lt;p&gt;in webvisu.cfg.json in /visu   &lt;strong&gt;"NumCachedImages": 0&lt;/strong&gt; &lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;
&lt;p&gt;{&lt;br/&gt;
        "UpdateRate": 200,&lt;br/&gt;
        "PlcAddress": "0000.9ED4.C1D5",&lt;br/&gt;
        "UseLocalHost": true,&lt;br/&gt;
        "Application": "Application",&lt;br/&gt;
        "StartVisu": "SendTweetVisu",&lt;br/&gt;
        "NumCachedImages": 0,&lt;br/&gt;
        "BestFit": true,&lt;br/&gt;
        "LogLevel": "INFO",&lt;br/&gt;
        "CommBufferSize": 50000,&lt;br/&gt;
    "HasKeyboard": false&lt;br/&gt;
}&lt;/p&gt;
&lt;p&gt;Then you need to take care that CODESYS doen not overwrite webvisu.cfg.json on every download  - make it readonly or change the name in CODESYS to  webvisu_my in CODESYS.&lt;/p&gt;
&lt;p&gt;BR&lt;br/&gt;
Edwin&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Bitmap live updating</title><link href="https://forge.codesys.com/forge/talk/Engineering/thread/05944abdb0/?limit=25#5355" rel="alternate"/><published>2020-02-27T13:49:05.086000Z</published><updated>2020-02-27T13:49:05.086000Z</updated><author><name>francois</name><uri>https://forge.codesys.com/u/francois/</uri></author><id>https://forge.codesys.com293d217f14deaf1777165b8365271457582c4fc6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I am looking for a way to change an image live on the file system and have it updated on the target/web visu.&lt;br/&gt;
It seems that once the runtime has loaded, it will always display a cached version of the image on the targetvisu.&lt;br/&gt;
I have tried unregistering/registering the file, but it does not seems to do anything.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;span class="n"&gt;BmpPoolUnRegister&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;IMAGE_POOL_ID&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;span class="n"&gt;BmpPoolRegister&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="n"&gt;szFile&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;IMAGE_FILE_LOCATION&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="n"&gt;szId&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="n"&gt;IMAGE_POOL_ID&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I have also tried registering a new file under a new ID without any luck.&lt;br/&gt;
Changing the page does not help either.&lt;/p&gt;
&lt;p&gt;Is there a way to do this without restarting the runtime in 3.5.4.x?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>