Hi..
I have been creating multiple OPC and UDT tags with the help of python scripts - using system.tag.configure ( baseTagPath, [tag], collisionPolicy).
Is it possible to create expression tags similar to this?
For example, the actual expression can be passed as a string parameter (e.g. "if(true, 1, 0)" ) in the [tag] and it will create the corresponding expression tag.
Yes. I suggest you create an expression tag manually, then use "Copy JSON" in the tag browser to obtain the structure you will need to supply to system.tag.configure
.
1 Like
Out of curiosity, I am interested in your use case if you don't mind sharing. Is your goal to create a UI to manage machines for your Ignition Project/System, or something else?
Thank you so much.. that is a great help!!
Yes, correct.. I have to OR statuses of multiple tags corresponding to a machine via expression tag.