
Posted: 2020-12-27 09:27 AM . Last Modified: 2023-05-03 12:06 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-27 09:27 AM . Last Modified: 2023-05-03 12:06 AM
Script for Acknowledge All Alarms
Hello Experts,
Newbie to Clear SCADA.
I have made a dedicated mimic for alarms lists.
How can I acknowledge the alarms (All Alarms) based on a button press?
Tried searching the help in Clear SCADA but not succeeded in finding a script to Acknowledge all alarms.
Only way is to click the alarm lists and individually Acknowledge. Pressing key "A" acknowledges the selected alarm aswell.
I have seen other discussions about ALARM banner multiple acknowledgment. But my requirement is using a script or some other way to acknowledge all alarms in an alarm list.
Kindly help.
- Labels:
-
Scripting
Link copied. Please paste this link to share this article on your social media post.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-27 08:19 PM
Script is definitely not the easiest way to do this.
Easiest is:
- Create button (or object to have pick action)
- Select Pick Action Wizard... from right click context menu
- Select Method (and Next >)
- Select Object = $Root (I'd recommend making it not relative)
- Set Method = 'Acknowledge Alarms'
- 'Next >', 'Next >', then 'Finish'
- Done
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..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-27 08:19 PM
Script is definitely not the easiest way to do this.
Easiest is:
- Create button (or object to have pick action)
- Select Pick Action Wizard... from right click context menu
- Select Method (and Next >)
- Select Object = $Root (I'd recommend making it not relative)
- Set Method = 'Acknowledge Alarms'
- 'Next >', 'Next >', then 'Finish'
- Done
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..
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-27 08:50 PM
Wow, Thanks for the detailed reply.
It worked simply.
Seems I need to explore options in ClearScada in detail again.
For printing the alarm lists on a button action is there any specific referencing for the script? Right clicking the alarmlist gives an option to print. but customer is requesting a button for that.
Currently I am using below script. But it prints the entire mimic.
sub Print()
Mimic.Print
end sub
Link copied. Please paste this link to share this article on your social media post.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
Link copied. Please paste this link to share this article on your social media post.
Posted: 2020-12-27 10:03 PM
New topics / questions should have new topics 😉
As always, the best guidance is to have a look at the Database schema. Reference can be found to this in the help documentation.
A shortcut for the default installation would be to just navigate to
https://locahost/schema
Then you can browse through all the properties / methods available on the various object types in the database.
Once you've found a property / method that represents what you're after then getting access to it is almost always possible using either the built in ViewX objects (like the pick action mentioned before) or using Logic (server side operation) / Scripting (client side operation).
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..
Link copied. Please paste this link to share this article on your social media post.

