Please ensure Javascript is enabled for purposes of website accessibility
Powered by Zoomin Software. For more details please contactZoomin

AVEVA™ InTouch HMI

Configure an inactivity time-out

  • Last UpdatedApr 15, 2025
  • 2 minute read

You can configure WindowViewer to automatically log off an inactive operator from an InTouch application. An operator must log on again after being logged off for inactivity. Setting an automatic inactivity log off period prevents unauthorized access to your InTouch application when operators leave their workstations unattended.

A timer measures the period the operator has not interacted with the running InTouch application. The timer resets each time the operator uses a mouse or any other input device to enter data. If the timer expires, the user is automatically logged off.

Note: The inactivity timer does not reset for Active-X controls, and OLE Automation controls.

Automatically logging off an operator is a two-step process:

  1. WindowViewer sets the $InactivityWarning system tag to 1 when the operator’s inactivity period exceeds a specified warning period. You can use the $InactivityWarning tag in a condition QuickScript to show a window that warns the operator about the pending log off for inactivity. The operator stays logged on by responding before the specified time-out period occurs. When the operator takes some action, the $InactivityWarning tag and inactivity timer are reset to zero.

  2. If the operator fails to respond after the inactivity warning, the $InactivityTimeout system tag is set to 1 when the time-out period has been reached. When $InactivityTimeout is 1, WindowViewer equates the logged on operator name to the reserved name None and sets the $AccessLevel security tag to 0. The user is automatically logged off.

You can use the time-out feature independently of the warning feature.

To configure an inactivity time-out

  1. Open WindowMaker.

  2. On the File menu, point to Configure, and then select WindowViewer.

    The WindowViewer configuration screen appears.

  3. In the Inactivity in secs area, configure the warning and time-out values. Do the following:

    • In the Warning box, type the number of seconds that can elapse before the $InactivityWarning tag is set to 1.

    • In the Timeout box, type the number of seconds that can elapse before the $InactivityTimeout tag is set to 1 and the user is automatically logged off.

    Warning value in Inactivity in secs area

  4. Select OK.

  5. To show a window named "Warning - Logoff Pending" after the inactivity warning time elapses, create a condition script with "$InactivityWarning" as the condition and the following script body:

    Show "Logoff Pending";

  6. To show a window named "Logged Off" after the inactivity timeout elapses, create a condition script with "$InactivityTimeout" as the condition and the following script body:

    Show "Logged Off";

    TitleResults for “How to create a CRG?”Also Available in