Welcome to the new Schneider Electric Community

It's your place to connect with experts and peers, get continuous support, and share knowledge.

Important Announcement: WELCOME to the new Schneider Electric Community! Community is now no longer part of Exchange, and is now rebranded under se.com. If you have any bookmarks and links saved, we request you to update them to ensure that you continue accessing our community from this new location. For any issues that you might encounter as part of this change, please reach out to SchneiderCommunity.Support@se.com, and the team will help to get your issues resolved.
Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel

Geo SCADA: Alarm Acknowledge Using Pick Action VBScript Function

EcoStruxure Geo SCADA Expert Forum

Find out how SCADA systems and networks, like EcoStruxure Geo SCADA Expert, help industrial organizations maintaining efficiency, processing data for smarter decision making with IoT, RTU and PLC devices.


Geo SCADA: Alarm Acknowledge Using Pick Action VBScript Function

Hi everyone!


I want to accept alarms from an alarm list using a VBScript function. I am not able to get the "cookie" value when selecting the row


'Assume for this purpose that strAlarmSource is fullname


     strAlarmSource = Mimic.Layers(strLayerName).Item(strListName).CurrentRowSource 

     objAlarm = Server.FindObject(strAlarmSource)



and then when using the method "objAlarm.Interface.Accept" it would accept all active alarms on that object. Is there any way to select a row in an alarm list and get a reference to the Alarm Instance and not the object or "Alarm Source".


Thank you in advance!

1 Reply 1

Re: Geo SCADA: Alarm Acknowledge Using Pick Action VBScript Function

I think it's a little complicated there.

  strAlarmSource = Mimic.Layers(strLayerName).Item(strListName).CurrentRowSource

  objAlarm = Server.FindObject(strAlarmSource)



The objAlarm item there is really the Alarm Object (CAlarmObject)

2022-05-26 14_25_44-GeoSCADA Expert 2021 Win2016 - VMware Workstation.png


And hence the Accept will 'Acknowledges all alarms associated with the object'


So somewhat painfully, you'd ideally want to access the CAlarm itself instead of the Alarm Object.

Lead Control Systems Engineer for Alliance Automation (VIC).
All opinions are my own and do not represent the opinions or policies of my employer, or of my cat..