Return values depending on the specified conditions with Lookup Table Variable. The main advantage is that you can set conditions using different parameters like equals, start with, contain, RegEx, ...
each variable to monitor/edit can be mapped to the GUI through the following instruction, readonly is optional and set to false by default. do that in the main loop ...