EcoStruxure Geo SCADA Expert Forum
Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).
Link copied. Please paste this link to share this article on your social media post.
Posted: 2021-03-09 10:52 AM . Last Modified: 2023-05-03 12:05 AM
Hi All,
Can anybody help me with this:
I need to apply filtering on Alarm List using some kind of script. What i am trying to achieve here, i have a filter script which i use to filter out some wells on a normal list but i am looking to add a functionality which will look at the Alarm list at the same time and filtered out the alarms only associated with the filtered wells.
In short how can i edit the filter functionality using script in Alarm list.
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: 2021-03-09 01:40 PM
It's possible to change the Animation properties on mimic objects during runtime.
It can get a little tricky however...
Essentially there is a bit of a hierarchy: Mimic -> Layers -> Items -> Properties (inc animations)
So if you know the layer name, and the alarm list name, you should be able to access it via
Mimic.Layers("LAYER_NAME").Items("ITEM_NAME").Filter = "*"
And then the Filter property should align with what is required. I don't remember the exact setup for the Alarm List filters, I can't recall if it's actually a collection, in which case you'd need to do things like call .Add(), .Clear() those kind of Collection methods on it, or whether it is just a delimited string. You could MsgBox the current value of it and get some info on this.
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: 2021-03-09 01:40 PM
It's possible to change the Animation properties on mimic objects during runtime.
It can get a little tricky however...
Essentially there is a bit of a hierarchy: Mimic -> Layers -> Items -> Properties (inc animations)
So if you know the layer name, and the alarm list name, you should be able to access it via
Mimic.Layers("LAYER_NAME").Items("ITEM_NAME").Filter = "*"
And then the Filter property should align with what is required. I don't remember the exact setup for the Alarm List filters, I can't recall if it's actually a collection, in which case you'd need to do things like call .Add(), .Clear() those kind of Collection methods on it, or whether it is just a delimited string. You could MsgBox the current value of it and get some info on this.
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: 2021-05-01 07:02 PM
Thank you it worked for me.
Mimic.Layers("LAYER_NAME").Items("ITEM_NAME").Filter = "*"
Link copied. Please paste this link to share this article on your social media post.
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.