Information

Hi,
Can you have a dynamic parameter that reference an opc tag (not is value) bu the tag itself?
Can you have a dynamic parameter that reference an object on the display ex. a button could have a LED display ref as a dynamic object?

thanks

No, you can’t reference a tag object or component object. Dynamic properties can only be certain data types. I don’t see why you would want to. What are you trying to do?

Hi Travis,
I want to do this because I would like to increment the tag value by 1 lets say and if the dynamic parameter was a tag I could do this without having to use the set and get tag value script.

But I think the script will be fine thanks

Right, but if you bind the dynamic property to a tag and check the bi-directional box you can do the following:event.source.parent.getComponent("Comp").dynamicProperty += 1That will increment by one and write it to the tag without having to know the tag path.