I designed a popup window that is opened once and icon is pressed. the icon passes all of its UDT parameters to the popup. In the popup i am displaying control features of my motor as well as alarms for this motor. Is there a way under the filter section i can get my alarm status table to only show THAT motor’s alarms? ( if another motor is opened i also call the same popup and would like for motor 2’s alarms to only show when that instance is opened) . I have tried referencing the motor datatype as well as indirect addressing where i use dynamic string in the custom parameters for the UDT as the changing variable.
Thanks for the reply.The picture below is what i have tried before but the moment i add this, all of my alarms in the window disappear. this is the direct path to the UDT in the tags.
Firstly, I would suggest using the Source Filter instead as it will always link to the source path - Display path can be overridden to show anything you want and hence can break filters.
Secondly, I never use UDTType parameters, so I’m not entirely sure the correct syntax. However it looks like you’re using only the “SDolName” property which presumably is the equip ID of the pump and hence may not always work. Consider if you have UDT instances with the same name in different folders, this filter would bring in alarms from them all. You really need to specify the full path to the UDT instance.
I never use UDTType parameters
I always pass the path to UDT instances into my templates as it’s far more flexible. I usually pass in the UDT instance name and the parent path to the instance for ultimately flexibility. The I would just use those in my alarm filter expression.