Ask our Experts
Didn't find what you are looking for? Ask our experts!
Launch of Consumer/Home Owner registration process! We are pleased to announce the commencement of the Consumer/Home Owner Registration Process on Community. Consumers/Home Owners may now proceed to register by clicking on Login/Register. The process is straightforward and designed to be completed in just a few steps.
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Search in
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-16 06:45 PM . Last Modified: 2023-05-02 11:56 PM
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)
objAlarm.Interface.Accept
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!
Link copied. Please paste this link to share this article on your social media post.
Link copied. Please paste this link to share this article on your social media post.
Posted: 2022-05-25 09:44 PM
I think it's a little complicated there.
strAlarmSource = Mimic.Layers(strLayerName).Item(strListName).CurrentRowSource
objAlarm = Server.FindObject(strAlarmSource)
objAlarm.Interface.Accept
The objAlarm item there is really the Alarm Object (CAlarmObject)
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.
Link copied. Please paste this link to share this article on your social media post.
You’ve reached the end of your document
Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.