I am looking to have a table with a cell update binding. However, depending on an external variable, the tag to point to will be different.
In my example, I have a table with two columns: Motor (string) and Current (float). The Motor column is populated via scripting from a database table. Depending on the results that fill the Motor column, I need to point to the corresponding OPC tag in the Current column. If the Motor column were static I would do this with a cell update binding, but since it varies, I need a way of modifying the binding with a script - the same script that loads the Motor column from the database. I can write an instantaneous value to the cell, but what I want to do is give it a tag path so it shows live values until the script is run again and the Motor column changes.
Is there a way of programming the property binding in python? I have browsed the system.dataset tree but haven’t found what I am looking for.