<?xml version="1.0" encoding="utf-8"?>
<feed xml:lang="en" xmlns="http://www.w3.org/2005/Atom"><title>Recent posts to Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/" rel="alternate"/><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/feed.atom" rel="self"/><id>https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/</id><updated>2023-06-08T09:53:43.833000Z</updated><subtitle>Recent posts to Best way to achieve dynamic image</subtitle><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#da2a/2b9e" rel="alternate"/><published>2023-06-08T09:53:43.833000Z</published><updated>2023-06-08T09:53:43.833000Z</updated><author><name>kislov</name><uri>https://forge.codesys.com/u/kislov/</uri></author><id>https://forge.codesys.comc2c1e4d7e46c0c1ed4e93c0a40ff969e2a1e9ff3</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Maybe this option helps...&lt;br/&gt;
&lt;a href="https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_dlg_project_settings.html" rel="nofollow"&gt;https://content.helpme-codesys.com/en/CODESYS%20Visualization/_visu_dlg_project_settings.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;"Visualization Directories"&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=50#da2a" rel="alternate"/><published>2023-06-08T00:49:27.721000Z</published><updated>2023-06-08T00:49:27.721000Z</updated><author><name>CellOHorst</name><uri>https://forge.codesys.com/u/cellohorst/</uri></author><id>https://forge.codesys.com11ca175426ad1b44d8f9e45eb9a43b47b2b5574a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks to you I got my project working, too!:+1&lt;/p&gt;
&lt;p&gt;But I have a question.&lt;br/&gt;
As I realized the image to be dynamically refreshed has to be in the folder ../visu.&lt;br/&gt;
Is there a way to put it into any other folder?&lt;br/&gt;
Reason: we use a compute module 4 with its internal eMMC which isn't that fast.&lt;br/&gt;
The image is an image of a barcode-reader that should be shown in the Visu and then, in a background task, be copied to somewhere else.&lt;br/&gt;
So - it is in process and copying the image from the BC-CAM to the ../visu-folder takes ~150ms, whereas copying it to a ramdisk is done in less than 50ms.&lt;br/&gt;
We use, e.g., tmpfs /var/opt/codesys/PlcLogic/cmexchange    tmpfs   mode=1777   0   0 in the fstab.&lt;br/&gt;
No problem to create another ramdisk below ../visu.&lt;/p&gt;
&lt;p&gt;BUT: is it somehow possible to have the POOL-Image in that sub-folder on the PLC - or any other folder at all?&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br/&gt;
Horst&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#e154/0f28" rel="alternate"/><published>2021-07-09T11:47:21.391000Z</published><updated>2021-07-09T11:47:21.391000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.comc3c896d4e34acb5cf31b6c0f360ebbd2ec634a56</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;It's working!&lt;br/&gt;
Thank you Marcel!&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#e154" rel="alternate"/><published>2021-07-09T05:21:14.300000Z</published><updated>2021-07-09T05:21:14.300000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comaa86facb7d432fed7b4e88de1190034306f7cb25</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;You still have to increase the bitmap version,without changing the value the image will not be cleared and redrawn from file.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#3ff7" rel="alternate"/><published>2021-07-08T15:34:24.710000Z</published><updated>2021-07-08T15:34:24.710000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.coma849d6c0f7f5538753b47ba23e7f1a4a37b03438</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;You should not increment your bitmap version that much.&lt;em&gt;&lt;br/&gt;
I know, It was just for making it easy so I don't have to change it manually every time.&lt;br/&gt;
&lt;/em&gt;&lt;br/&gt;
And the issue seems to be caused by the bitmap ID variable.&lt;br/&gt;
Just remove this from the configuration as you dont need it.*&lt;br/&gt;
I removed the variable (and the timer) and it still require refresh both on Firefox and Chrome.&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#6a18" rel="alternate"/><published>2021-07-08T14:29:22.211000Z</published><updated>2021-07-08T14:29:22.211000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com3455a01592720314ac1d28415ec1db43fa65b7d6</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
A few things.&lt;br/&gt;
You should not increment your bitmap version that much.&lt;br/&gt;
And the issue seems to be caused by the bitmap ID variable.&lt;br/&gt;
Just remove this from the configuration as you dont need it.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#b110/8f55/2f06/8d61" rel="alternate"/><published>2021-07-08T12:44:41.737000Z</published><updated>2021-07-08T12:44:41.737000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.com7be05d3dd12e2858b3ac9c31d21191cc36ac82f9</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Sure, I attached the files.&lt;br/&gt;
The example is in the second Visualization and I have a timer to change the bitmap so it will change the image immediately .&lt;/p&gt;
&lt;p&gt;Right now I'm using Firefox 89.0.2 and Chrome 91.0.4472.124&lt;br/&gt;
On the real PLC we will use Chrome.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#b110/8f55/2f06" rel="alternate"/><published>2021-07-08T12:31:04.642000Z</published><updated>2021-07-08T12:31:04.642000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.comde84721bfba1ac9245fad90ac036715ceee03c8f</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
could you attach a example project for me to reproduce the issue?&lt;br/&gt;
Which browser and which version are you using?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#b110/8f55" rel="alternate"/><published>2021-07-08T12:17:44.297000Z</published><updated>2021-07-08T12:17:44.297000Z</updated><author><name>spiritcore</name><uri>https://forge.codesys.com/u/spiritcore/</uri></author><id>https://forge.codesys.com5056a30ee30fe024b63bcc4cf817250564993d2a</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks Marcel!&lt;br/&gt;
Currently, I need to refresh the browser or use chrome with the &lt;strong&gt;Developers Tools&lt;/strong&gt; open on the network tab and &lt;strong&gt;Disable Cache&lt;/strong&gt; option ticked.&lt;br/&gt;
When closing the developer tools window it doesn't work again.&lt;br/&gt;
&lt;a class="user-mention" href="/u/sedoerr/"&gt;@sedoerr&lt;/a&gt; had the same issue here:&lt;br/&gt;
&lt;a href="https://forge.codesys.com/forge/talk/Visualization/thread/79526ea338/#1435"&gt;https://forge.codesys.com/forge/talk/Visualization/thread/79526ea338/#1435&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Stuck in a dead end with it.&lt;/p&gt;&lt;/div&gt;</summary></entry><entry><title>Best way to achieve dynamic image</title><link href="https://forge.codesys.com/forge/talk/Visualization/thread/3dbe632d0b/?limit=25#b110" rel="alternate"/><published>2021-07-07T13:38:48.625000Z</published><updated>2021-07-07T13:38:48.625000Z</updated><author><name>m.prestel</name><uri>https://forge.codesys.com/u/mprestel/</uri></author><id>https://forge.codesys.com7d8810d063a02ec6972054734ea2b13ae028a586</id><summary type="html">&lt;div class="markdown_content"&gt;&lt;p&gt;Hey,&lt;br/&gt;
I found where the image is placed in the PLC folder and when I replace it It change but only if I refresh the browser.&lt;br/&gt;
So I need to find a way around that.&lt;/p&gt;
&lt;p&gt;Thats the way to go.&lt;br/&gt;
This folder is your $PlcLogic$/$visu$ folder.&lt;br/&gt;
If you replace the image in this folder and change the Bitmap Version of the image, it will be reloaded (without the need to refresh the browser).&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br/&gt;
Marcel&lt;/p&gt;&lt;/div&gt;</summary></entry></feed>