I am trying to make a popup which will show the interlocks and dependencies of a tag in either grey or yellow depending on if it is causing a problem. For example, if I click on a conveyor belt, I would like to be able to see text saying that it is not working because the conveyor belt ahead of it is in error. I am trying to make only one popup for each UDT so that all motors can use the same popup and all conveyor belts can use the same popup as this will save a lot of time and space. The problem I am having is regarding passing parameters into the popup.
I could create text which is bound to a custom property which I would fill by passing in a parameter from which ever thing on the screen I am animating. I could then have its color indirectly bound to the tag. The problem I am having is that some of the colors are products of expressions. I don’t think I can do an indirect bind and an expression. I am wondering if anyone has any ideas as to how to get around this or if there is a better way to do this in general.
Any responses are appreciated!