I have a tag UDT definition called Motor. This UDT has a custom parameter “Description”. Each time I create an instance of this UDT, I enter the motor description so that I can use it in alarm messages and such.
I also have a popup window, which is the motor control popup (e.g. status, start/stop, etc). This motor window has a custom property “TagPath”, where I specify the path to the tag so that I can call the same popup with multiple instances of the Motor tag.
At the top of the popup I’d like to display the description of the motor. I can create a label, and I’ve got access to the tag path, but I can’t find a way to use that tag path to obtain the value of the specified tag’s “Description” property.
I know I could pass a description string to the window when I open it, but again, I can pass a window property or a tag value, but I can’t find a way to pass a tag property.
Any help is appreciated!
 while I play around, I’m sending a hard-coded string. It’s working, but when I’ve got the label’s text property bound to the Description property, I then can’t use HTML to wrap the text across multiple lines. So, once I have my motor description being passed in correctly, any ideas on how to force the label object to display it with HTML (or at least, across multiple lines)?