The Write Lock for Multiple Frontends
MERLIC enables you to open a MERLIC Vision App in multiple concurrent Frontends, even on different computers. To ensure that the MERLIC Vision App cannot be edited simultaneously in multiple Frontends, a write lock is integrated in the Frontend. The write lock is not activated by default when opening a MERLIC Vision App in multiple Frontends. However, as soon as a user starts interacting with the MERLIC Vision App in one of the Frontends, e.g., by starting the application or adjusting a parameter, the write lock is activated and the application is automatically locked for editing in all other Frontends. The write lock will be active as long as the user keeps editing the MERLIC Vision App in the unlocked Frontend.
There are two ways how the write lock can be released:
Release the Write Lock Manually
This method is only available in the unlocked Frontend, i.e., the Frontend in which the MERLIC Vision App has been edited. Thus, the user who started the interaction with the MERLIC Vision App has to release the write lock.
To release the write lock, simply open the Frontend menu entry "Access" and click on "Release write lock". The application is now unlocked in all Frontends. This means that the MERLIC Vision App can now be accessed and edited in the other Frontends. However, if the MERLIC Vision App is edited anew, the write lock will be activated again in all other Frontends.
The example shows two Frontends with the same MERLIC Vision App. As soon as the application is started in the Frontend on the right side, the write lock is activated and the left Frontend is locked. The control elements on the left side are inactive and displayed in gray. When releasing the lock by clicking on "Access -> Release write lock", the application in the left Frontend can be edited again. The same applies if the MERLIC Vision App is edited in the left Frontend. Then the right Frontend is locked.
Wait until the Write Lock is Released Automatically
The write lock is automatically released if no user interacts with the MERLIC Vision App for a certain period of time. The automatic release of the write lock ensures that the MERLIC Vision App does not stay locked for a long time in case it was forgotten to release the write lock.
The example shows two Frontends with the same MERLIC Vision App. As in the previous example, the write lock is activated as soon as the application is started in the right Frontend. The control element in the left Frontend are inactive and cannot be used. However, after starting the execution of the application no further interaction is performed. Therefore the write lock is automatically released after a short time.