i am using CoDeSys 184.108.40.206 with a hardware PLC and a Webvisu.
I am using the streaming function to copy images from my webvisu-system to the PLC. This is already running. Actually the problem is that i overwrite existing images and the only way to see them on the webvisu is, to reload the the browser.
i tried it also with Bitmap-Version. But after changing the image and incrementing the Bitmap-Version for that image, nothing happens.
Does anyone know any solution?
PS: I know there is a workaround for this by changing webvisu.cfg.json but thats not a very good solution.
PS: i am using Chrome and it seems that the caching of them is a problem, too.
I did a quick test with a bmp file and I was not able to reproduce this issue.
Used Chrome 84.0.4147.125
thanks for your reply. Maybe the problem is that i use .png files?
So you used an Integer for Bitmap-Version and incremented this, to let the webvisu reloade that image?
png makes no different for my tests.
Yes, I used the bitmap version and just pressed a button to increment the counter after I changed the file on disc
Hmm,thats really strange. I have done it the same way and for me it does not work.
You have done this without the workaround?
Can it be a problem, that i show my images in a frame?
Is is a probem if the bitmap version is incremented up and then a litte while later down?
How about you attach your project and we can find out the cause for the issue?
i think this will be not possible. First my project sizes over 250MB. The second is that it is a company project and i am not allowed to show.
Then try to create a new project and reproduce the issue?
Not much I can do without a project.
I will try to fix my problem. As you said, it should work like it is done, so maybe i need to play a little bit around.
If i get the time i will try to prepare a new project to reproduce it.
Whatever, many thank for your help!
so i tried to fix my problem. The only way for me is to use Chrome Browser. Then press F12 for development tool -> Network and then check there "disable cache"
But Chrome development tool must run all the time in background.
I tried also Internet Explorer and Firefox, but there it does not work even with disabled cache.
Maybe this is a PLC problem?
again please attach your project or create a project in which the issue can be reproduced.
Not much I can do without taking a look at the project and understanding the issue.
@sedoerr why increment and decrement? Marcel increments only..?
@dkugler decrementing is history. I changed my program so that it is only incrementing after changing a picture.
Log in to post a comment.