# Monopolize Operation

"Monopolize Operation" is a feature that protects against unintended consequences by preventing simultaneous inputs from multiple clients. With Web Viewer, when multiple clients are connected to the server, monopolize operation allows touch operations from one client only and prevents touch operations from other clients.

Monopolize operation starts up automatically when the screen is touched.

## Settings

To prevent a client from continually monopolizing operations:

1. In the Project Explorer window, go to [System Architecture] and click [Target01].
2. In the Properties window, click [Advanced] tab and click [Data Access] tab.
3. Go to [Web Function Settings] ➞ [Web Viewer Settings] ➞ [Monopolize Operation], and set the following properties.
   Properties Properties

   [Lock Timeout by Touch (sec)]
   When a Monopolize Operation is started due to screen touch, then after touch is released and the specified time elapses, the monopolize touch is released. If you touch the screen again before the timeout elapses, the lock time is reset. Set a value of 0 to release the lock right after touch is released on the client. Setting Value Range: 0 - 30

   [Icon Position]
   Set the position of the icon indicating touch operations are locked out: None, Bottom Right, Top Right, Bottom Left, or Top Left.

## User Operation

1. When a user touches the screen on either the server or client, the monopolize operation is assigned to that server or client.
   On other clients and the server that are not monopolizing operations, an icon appears in the specified [Icon Position].
   The defined [Lock Timeout by Touch (sec)] begins its count.
2. If a user touches the screen again, the [Lock Timeout by Touch (sec)] is reset and the timeout begins again.
3. If there are no more touch operations and the timeout elapses, the monopolize operation is returned and touch operations are available to the server and clients.

### Condition of Monopolization Operation

Target | Condition
Client | Touch Mouse Click Mouse Double Click Mouse Wheel Mouse Over (Hover)
Server (When Using SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, or PC/AT) | Touch Mouse Click Mouse Right Click Mouse Over (Hover) USB barcode reader input
Server (Other than the above) | Touch USB barcode reader input

### Icon

When a server or client is monopolizing operations, on the screens of the server and clients that are not monopolizing operations, one of the icons below will display.

Icon | Description
| Indicates the server has locked out touch operations on the client.
| Indicates another client has locked out touch operations on the server or the client.

Note: The icon does not display on the server or client that is monopolizing operations.

## Checking Timeout of Monopolize Operation

### Setting

You can set up a display that shows how much time is remaining for a monopolize operation by setting the source property below in the [Current Value] property of a numeric display.

(Target Name).Preferences.WebViewer.RemainedLockoutSeconds
Read-only property that stores the number of seconds remaining until the lockout for the monopolize operation is reset.

### User Operation

1. When a user touches the screen on either the server or client, or when the mouse hovers over the screen on one of the following servers, SP5000 Series Open Box (Windows 10 IoT Enterprise Model), IPC Series, or PC/AT, the monopolize operation is assigned to that server or client.
2. When the server or client is monopolizing operations, the specified numeric display or other part/shape displays the number of seconds until the monopolize operation is released.

Note:

- If a user with monopolize operation logs out from the client, or the client connection is terminated, the monopolize operation is released.
- Toggling between Monitor mode and Operation mode does not release the monopolize operation.
- Monopolize operations are recorded in the operation log. For information, refer to the following.
  Display Operation Log