Цитата Сообщение от fatlortroll Посмотреть сообщение
А чем для указанного примера вызвано требование работать с клиентами только в задаче VISU_TASK?
Указанием от разработчиков CODESYS.

Код:
The new (>= 3.5.6) mechanism tightens the requirement to do calls to visualization methods (eg. programmatic selection, programmatically opening dialogs etc.) only from the VISU_TASK. 
As this requirement was there formerly too because of not implemented threadsafety in the visualization libraries, this is not a compatibility break.