Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

Alarm Banner filter via Global Script

EcoStruxure Geo SCADA Expert Forum

Schneider Electric support forum about installation, configuration, integration and troubleshooting of EcoStruxure Geo SCADA Expert (ClearSCADA, ViewX, WebX).

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Remote Operations
  • EcoStruxure Geo SCADA Expert Forum
  • Alarm Banner filter via Global Script
Options
  • Subscribe to RSS Feed
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
sbeadle
Kirk sbeadle Kirk
307
AndrewScott
Admiral AndrewScott
96
BevanWeiss
Spock BevanWeiss
90
AdamWoodlandToo
Lt. Commander AdamWoodlandToo
37
View All
Related Products
product field
Schneider Electric
EcoStruxure™ Geo SCADA Expert

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Solved Go to Solution
Back to EcoStruxure Geo SCADA Expert Forum
Solved
joshribbons
Ensign joshribbons
Ensign

Posted: ‎2021-03-15 05:18 PM . Last Modified: ‎2023-05-03 12:05 AM

0 Likes
7
2768
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-15 05:18 PM . Last Modified: ‎2023-05-03 12:05 AM

Alarm Banner filter via Global Script

Hello brains trust.

 

Just going through the release notes for Jan 2021 update and saw "New Feature: Added support for setting the Alarm Banner filter via Global Script".

 

I've looked at the help file which doesn't seem to have been updated for this feature. Is there any info available on how this is done?

 

Cheers,

Josh

Labels
  • Labels:
  • Scripting
  • ViewX
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic

Accepted Solutions
AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2021-03-16 02:53 AM . Last Modified: ‎2021-03-17 03:42 AM

0 Likes
3
2745
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-16 02:53 AM . Last Modified: ‎2021-03-17 03:42 AM

Here are some examples of getting / setting the alarm banner filter and default filter from a global script:

 

public Sub SetAlarmFilterHigh
	Dim ParseError
	ParseError = AlarmBanner.SetFilterForSystem("My System", "MinSeverity=""500""&MaxSeverity=""1000""")
	If ParseError <> "" Then
		MsgBox "Filter", "Failed to set the filter. Parse Error: " & ParseError
	End If
End Sub

public Sub GetCurrentAlarmFilter
	MsgBox "Alarm Banner Filter", "Current Filter: " & AlarmBanner.GetFilterForSystem("My System")
End Sub

public Sub GetDefaultAlarmFilter
	MsgBox "Alarm Banner Filter", "Default Filter: " & AlarmBanner.DefaultFilter
End Sub

 

NB. The original version of this post incorrectly showed an early version of the API which didn't support clients connected to multiple systems.


Andrew Scott, R&D Principal Technologist, AVEVA

See Answer In Context

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Replies 7
BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-03-15 06:34 PM

0 Likes
2
2763
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-15 06:34 PM

I've had a look through the online help, and have tried a few options myself, like:

AlarmBanner.Filter = ..

AlarmBanner.Alarms.Filter = ...

 

Neither worked unfortunately.

I'd say this is something that you should raise with your local Tech Support also, so that it gets into the correct Schneider systems.

It's possibly an error in the Release Notes, or it's an issue in that the help hasn't been updated to reflect the change mentioned in the Release Notes.

 

I would have expected it to be something of the form AlarmBanner.Filter = ... (where the filter string would match what the embedded Alarm Lists would also expect).

 

@Anonymous user, @sbeadle or @AndrewScott  might have some additional guidance. 


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..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Anonymous user
Not applicable

Posted: ‎2021-03-15 07:04 PM

In response to BevanWeiss
0 Likes
1
2759
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-15 07:04 PM

I knew it was being worked on but hadn't realised it had been backported! This is what I get for not reading release notes properly, well spotted @joshribbons.

 

Possibly it's still subject to change; I'm sure we will release documentation when it makes sense to.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

joshribbons
Ensign joshribbons
Ensign

Posted: ‎2021-03-15 07:11 PM

In response to Anonymous user
0 Likes
0
2756
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-15 07:11 PM

Ahh, all good. Getting ahead of myself as usual.

 

If I could put my 2c in here, I reckon it'd be even more useful if the alarm banner filter was configurable from any client scrips.

  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2021-03-16 02:53 AM . Last Modified: ‎2021-03-17 03:42 AM

0 Likes
3
2746
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-16 02:53 AM . Last Modified: ‎2021-03-17 03:42 AM

Here are some examples of getting / setting the alarm banner filter and default filter from a global script:

 

public Sub SetAlarmFilterHigh
	Dim ParseError
	ParseError = AlarmBanner.SetFilterForSystem("My System", "MinSeverity=""500""&MaxSeverity=""1000""")
	If ParseError <> "" Then
		MsgBox "Filter", "Failed to set the filter. Parse Error: " & ParseError
	End If
End Sub

public Sub GetCurrentAlarmFilter
	MsgBox "Alarm Banner Filter", "Current Filter: " & AlarmBanner.GetFilterForSystem("My System")
End Sub

public Sub GetDefaultAlarmFilter
	MsgBox "Alarm Banner Filter", "Default Filter: " & AlarmBanner.DefaultFilter
End Sub

 

NB. The original version of this post incorrectly showed an early version of the API which didn't support clients connected to multiple systems.


Andrew Scott, R&D Principal Technologist, AVEVA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-03-16 02:47 PM

In response to AndrewScott
0 Likes
2
2712
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-16 02:47 PM

Thanks Andrew, good to know.

 

It would have been 'nicer' if the interface had of remained standard against the Alarm List animation properties however, i.e. it was possible to both 'Get' and 'Set' the AlarmBanner.Filter 'Property'.

 

Perhaps this could be added in a future release, with the SetFilter() left as a legacy method


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..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

AndrewScott
Admiral AndrewScott
Admiral

Posted: ‎2021-03-17 03:53 AM

In response to BevanWeiss
0 Likes
1
2697
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-17 03:53 AM

Bevan, I made a mistake with my original post and showed an early version of the API. The final version doesn't have Filter property and SetFilter method, instead it has GetFilterForSystem and SetFilterForSystem methods to support clients connected to multiple systems.


Andrew Scott, R&D Principal Technologist, AVEVA
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

BevanWeiss
Spock BevanWeiss
Spock

Posted: ‎2021-03-17 04:53 AM

In response to AndrewScott
0 Likes
0
2693
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Subscribe to RSS Feed
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2021-03-17 04:53 AM

Ahh, makes more sense now.

And yes, .Filter wouldn't work well with Systems taken into consideration.

 

Is there an ability to SetFilterForSystem and have it apply to ALL systems? i.e.

AlarmBanner.SetFilterForSystem("*", "Source=Water.*")

 

It wouldn't be needed for the GetFilterForSystem method (since retrieving an individual filter string per System would suffice here).

 

Thoughts are that in combined systems we will often want to have a simple filter like 'Severity >= High' and would want that to be applied to all the Systems the user is connected to, but we may not easily know the name of them all (both because the system might be named differently on each client, and also because at original development time we simply don't know how many, or the names of, all the remote systems).


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..
  • Tags:
  • english
  • scada
  • SCADA app
  • SCADA software
  • SCADA tutorial
  • Telemetry and SCADA
Reply

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

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.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of