Hi there I'm using the Iframe component to display some camera views on several parts of my production floor and display it on big TV screens and it works great, but overtime the screen will go blank. Is there a way I can refresh the Iframe or the session that is pulling the view every hour or so to avoid this issue? I'm running ignition version 8.1.31
you could just add a random param at the end of the url, should force a refresh i think, let the number count up or something (add ?1
to at the end of your url)
www...com?1
I'm a little confused on how you can do this. I know you can add a parameters to your URL. Let say for example my url is: http://x.x.x.x:8088/data/perspective/client/DF/cameratest
would I change this to http://x.x.x.x:8088/data/perspective/client/DF/cameratest?:hour=60 and hour would be a parameter on my page in which it counts 60 minutes once they are equal this will it refresh the page?
Ohh nevermind I understand what you are saying now. I would have do this on src URL side of things. And just add dummy parameter to the end of url with ? before it and have that parameter change every hour and that will force it refresh. I have date time hour parameter so I will just use that as my parameter
@victordcq Do you think this would would still work even though the page I'm using is a carousel that is pointing this view and is transitioning between two different cameras?
Yes this,
pretty sure it should work whereever
Yup it works. No more blank screen. Thank you!