Technical FAQs

Ask a Question

Using dynamic alarm filter in Instances

DISCLAIMER 

The example below is intended to demonstrate one or more features or methods and is presented as a configuration example only. Schneider Electric assumes no liability for the use or application of this example or any portion thereof.

One of the most powerful features in ClearSCADA is the possibility to use Templates and Instances.
When using this feature, it is common the need to filter alarm lists so each instance will show only alarms from within the instance itself.
This can be done by setting the "Filter" property of the embedded alarm list object properly.
On the template, double click on the embedded list object and click on "Animations":


Add the following expression to the "Filter" property:
'Source="' + ".FullName" + '.*"'


Please note the syntax, that includes a mix of single and double quotes.
You may want to import the attached SDE file to your application in order to check the syntax and have a working example.
It contains a template called "TAlarmFilter". Each instance of it will show a customized alarm list in the "Default" mimic.
 
Was this helpful?
What can we do to improve the information ?