Turn off multithreaded processing for OMI ViewAPP
- Last UpdatedApr 01, 2025
- 1 minute read
By default, the OMI ViewApp is a multithreaded application, where each layout within the ViewApp runs on its own UI thread. Thus, each layout in a multi-screen ViewApp runs on a unique thread. For example, a ViewApp configured for three screens will run on three separate threads when this setting is enabled. This is the default, and should not normally be changed.
However, if your ViewApp contains controls that are not optimized for multithreading, such as controls that were used for legacy AVEVA InTouch applications, then you can disable the setting to avoid unpredictable results at runtime. With the setting disabled, all layouts in a ViewApp will run on the same thread. To disable multithreading, change the value for the key from true to false.
<add key="LayoutMultiThreadingModeEnabled" value="true" />