Let me try explain better...
I am begginer to HMI and PLCs, and I'm working on a complex FactoryTalk project. I have been assigned a task that I need to research how to develop an automatic alarm and event filter for the object with which the operator has interacted. Forgive me if I confuse any specific FactoryTalk concepts, but I will try to be as clear as possible about my issue.
1. The operator will select the motor from which they want to obtain information. In this case, a popup for a soft-starter motor will open.
https://prnt.sc/vzW9qy0wAghG
2. Then, the global Soft-Starter motor popup will open with the information for that device, and the operator will check for specific motor events and alarms. (This is Portuguese)
https://prnt.sc/GHeL7ZZGlz1e
3.So here is the issue. Only the alarms and events specific to this motor should be shown to the operator, but it displays all the others.
https://prnt.sc/26QtJEnBHI7Z
I tried to use filters using the tag of the clicked motor, but I wasn't successful (I believe it can only read 'strings' in properties). So, I thought that one of the possible solutions would be to use VBA... But i have no idea how to do this.
Edit Motorname Object Parameter is #5