1/2/2024 11:38 AM | |
Joined: 12/7/2020 Last visit: 8/28/2025 Posts: 50 Rating:
|
Hello. I created modified Unified visualization based on LBP Demo project (https://support.industry.siemens.com/cs/de/en/view/109813055) So menus and screen layout is the same as in standard Unified template. Anyway, after 6 mo Im about to end this project. After on-site testing i found that sometimes Menu button didn't work. Button just changing Viability of ScreenWindow with Menu from FALSE to TRUE. I can see that button change color on OnClick event, but nothing happened. So, to make it work somehow i added Menu buttons on main ScreenWindow - that works, almost. After random amout on screen changing whole webside turns white and i need to refresh page to work again. Additionally, i added OnClick Event on the background of te main Screen that contain all ScreenWindows. This event works fine until menu breaks. When I'm unable to open Menu, background event also dint work. I added another screen to refresh visualization, after refreshing Main Screen that contains all ScreenWindows everything start work again. I'm aware that probably no one has similar problem but I hope to get some help with debugging this thing. I checked all menu scripts, get rid of onLoad Scripts, and change a lot of scripts just to check if it help. If it is nesesery, i can provide video of my bug. |
Last edited by: Scyzoryk96 at: 01/02/2024 11:39:33Add URL formatting Last edited by: Jen_Moderator at: 01/03/2024 09:26:48Link optimized. Last edited by: Jen_Moderator at: 01/03/2024 09:27:32Link optimized again. |
|
1/2/2024 11:51 AM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi Scyzoryk96, You should use the Trace Viewer for debugging as described in the FAQ. However, finding useful information in these traces is a bit tricky and requires a lot of experience. Since the problem is probably caused within the scripts, you can filter to module 'CJSEngineAdapterV8' to reduce the number of messages. Kind regards |
This contribution was helpful to
1 thankful Users |
1/3/2024 6:31 AM | |
Joined: 12/7/2020 Last visit: 8/28/2025 Posts: 50 Rating:
|
Unfortunately I'm not getting any obvious Errors / Warnings: Errors (form refresh to crash. When Crash occurs, no error is generated)
Should I be concerned about "GfxJSONFilter" Error? AttachmentErrors.txt (236 Downloads) |
Last edited by: Jen_Moderator at: 01/03/2024 09:36:42Errors added as .txt file. |
|
1/3/2024 9:30 AM | |
Joined: 1/21/2013 Last visit: 8/29/2025 Posts: 4087 Rating:
|
Hi Scyzoryk96,
Are you talking about a runtime crash where the runtime stops and restarts? If so, it is probably not caused by JavaScript. However, while we volunteers will continue to help you, you should submit a support request at the same time. Please let us know which version of WinCC Unified Engineering you are using. And also which device version you are using. You should check if there is an update available for your software.
Looking at trace logs can sometimes help you find the cause of a problem. However, at the moment it will mostly be confusing because the default trace settings will generate logs mostly for the developer to find some reasons when analyzing bug reports. So in my opinion, you should not worry about the bug, the developer should. Kind regards |
Follow us on