You are not logged in.
Pages: 1
Topic closed
If I'm going back to the tab in my browser with My REXcontrols HMI, after visiting another tab, then some components on my HMI-page are disappeared.
They will only reappear after refreshing the page. This only happens if the variable which controls the component has changed while I was visiting the other tab(s) if the value was left unchanged then everything is ok.
It seems to happen only on components with a 'group animation' where multiple selections were done....
...or where a 'display' component is used in combination with a 'group animation'.
I tried different browsers (Chrome and Opera) with always the same result. (Edge from MS is not even showing the values on the 'display' components...)
Offline
Hi scoobsalamander,
thanks for reporting this. Our developers will have a look at it and we'll get back to you.
Best regards,
Jaroslav
Monarco HAT for Raspberry Pi - Lightweight I/O for monitoring, archiving and control.
Raspberry Pi in industrial automation!
Offline
Hi Jaroslav,
In the mean while I did some more testing and it seems to be also with components with only a single animation. I have the impression that the objects I am willing to control along the Y-axis are sometimes way off on the Y-axis after the process value has changed. After refreshing the page it all turns back to normal until another change of the value. On the same HMI I have also a component which is being scaled and this is working fine. (also colour changing is working)
(FYI : I updated to the latest version just a few days ago, maybe this behaviour has something to do with it? I can't remember seeing this in the previous version(s) although this is already some time ago....
SVG file :
Last edited by scoobsalamander (2018-01-02 11:58:32)
Offline
..were you guy's able to generate the same behaviour for movements along the y-axis?
Offline
Hello scoobsalamander,
I create test project from the SVG file you send me. Unfortunately I was not able to reproduce your behavior. I find out that the setpoint triangle had a yRange attribute set to 300. But if I want to move it along y axis upward the yRange attribute must be set to -300.
I know that sometimes some components with Group animation enable were disappearing in old Firefox, but never in Chrome. Please let me know if you can observe the behavior also with my example?
Offline
I tried your example and it is working fine in my browser. Then I tried the -300 setting and it is working but only after changing the value in REXcontrols....and after a refresh it is again offset....so actually just the opposite from what I noticed before.
When I decrease the width of my browser to only half the size of my monitor I get some space on both sides of the window and then I can see the disappeared triangle on the bottom of my screen.
Offline
The animation of the object is done via changing the transformation attribute of the SVG group. Can you check using the Developer tools in Chrome or Firefox what is the value of the transform attribute.
Offline
It seems that the sign is changing somehow after refreshing the page and/or refreshing the value in REXcontrols.
After refreshing the page it becomes positive and when I change the value then it becomes negative again.
Offline
Hello scoobsalamander,
thank you for reporting. Finally I was able to reproduce it. It is a bug. I will fix it for the next versions. I have also workaround for you.
Edit the C:\Program Files (x86)\REX Controls\REX 2.50.5.8614\HmiDesigner\libs\GENERAL\js\rex-ui-svg-general.js
//Changle line 1588
newVal = 'translate(0,' + (-tYa) + ')';
//to (remove the minus sign)
newVal = 'translate(0,' + (tYa) + ')';
Best regards
Ondra
Offline
Tonight I will try out this workaround. Thx for solving this issue...
Grtz,
Kris
Offline
It's working fine now...Thx
Offline
Pages: 1
Topic closed