Hi Everyone,
I currently have a runtime page that when navigated to runs a c-script to gather data.
If I navigate to the screen the c-script executes and takes a few seconds to retrieve all the neccessary data (running a while loop). Once the data is collected and displayed on the screen I can then navigate around WinCC runtime with no problems.
The problem I am having is as follows:
If I navigate to the screen and then before the c-script has completed I navigate to another screen then WinCC runtime starts to hang/freeze almost and I can no longer navigate. I think the script is still active in the background and is causing this problem. The only way to resolve ths is to shut WinCC runtime down and restart.
Is there a way to either abort the script when navigating away from the screen or to prevent the user from navigating away until the script has finished executing?
I am using standard PCS7 V7.1 SP3
Thanks
Cameron
=== Edited by Cammo @ 7/4/2012 1:34 AM [GMT ] ===
|