Is it possible to track activity for a given WebVisu client with the intention of returning to a home screen after a period of inactivity? The VU.IVisualizationClient doesn't provide the timeLastMouseEvent. I understand that using VisuElems directly is frowned upon.
right now I am not aware of any VisuUtils for that, sorry.
I added an improvement for that.
The workaround I use is to have ALL button presses set a global variable. A timeout FB uses this value to reset a TON timer and then resets the flag for next scan. I sure would be convenient to have a built-in flag and the ability to execute the timer within the context of a client session. In other words have session/client events such as EveryScan, SessionInit, etc in which one could declare variables/FBs and execute code. Most, if no all, Iterate Client stuff would be unnecessary.
Log in to post a comment.