Acknowledge All Alarms in The Alarms and Events Summary Without The Popup Comment PDF

Download as pdf or txt
Download as pdf or txt
You are on page 1of 4

12/10/2016 63289 

­ Acknowledge all alarms in the Alarms and Events Summary without the popup comment

(/app/answers/detail/a_id/63289/related/1#)

Acknowledge all alarms in the Alarms and Events Summary without the
Supportcomment
popup Center (/app/home) Menu 

63289 | Date Created: 08/05/2009 | Last Updated: 10/07/2016


 Email this page   Subscribe to Updates
Access Level: TechConnect

Question
Although it is possible to interact with the Alarms and Events Summary object both with an  Invoke  command
and in VBA to acknowledge all alarms, as described in 48785 ­ Alarm and Event Summary object: how to
acknowledge Alarms using a Button (//rockwellautomation.custhelp.com/app/answers/detail/a_id/48785), the
popup message will always be pulled forward and will force the user to type a comment.

Is it possible to avoid this?

Answer
Yes, the AckAll method allows, by design, to disable the popup message. The complete syntax of the method in
the AlarmEventSummary object model is:

Sub AckAll([ShowDialog As Boolean = True], [Comment As String])

The ShowDialog parameter is initialized True, so if you omit the parameters the popup message will be
displayed.

To avoid having to type in any comment in the popup message use the syntax in the following solutions, both
will achieve the same result.

Solution 1
If you would like to have the command behind a buttons press or release action, or a display key, the syntax is
as follows:

Invoke "Display name".alarmeventsummary1.AckAll(0,"my comment")

Solution 2
https://rockwellautomation.custhelp.com/app/answers/detail/a_id/63289/related/1 1/4
12/10/2016 63289 ­ Acknowledge all alarms in the Alarms and Events Summary without the popup comment

If usingVBA, the syntax would be as follows:

Me.AlarmEventSummary1.AckAll False, "my comment"

this can be behind a button as well, but you will have to do the following:

1. Right­click on the Alarm and Event Summary object, then select property panel
2. Change the ExposeToVBA property from Not Exposed to VBA Control, then close the property panel
3. On the button that you want the code to be behind,  right­click ­­> VBA Code...
4. Between the Button_Released event and the end sub, paste the code above

Note: Even if you disable the popup message you can still edit a default comment which will be tracked in the
log viewer, as if it was typed manually by the operator in the popup message. For Example:

Me.AlarmEventSummary1.AckAll False, "acknowledging all alarms"

For more VBA examples, you may check 459824 ­ FactoryTalk View SE VBA ­ All You Need To Know ­ TOC
(//rockwellautomation.custhelp.com/app/answers/detail/a_id/459824)

DISCLAIMER

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/63289/related/1 2/4
12/10/2016 63289 ­ Acknowledge all alarms in the Alarms and Events Summary without the popup comment

This knowledge base web site is intended to provide general technical information on a particular subject or
subjects and is not an exhaustive treatment of such subjects. Accordingly, the information in this web site is not
intended to constitute application, design, software or other professional engineering advice or services. Before
making any decision or taking any action, which might affect your equipment, you should consult a qualified
professional advisor.

ROCKWELL AUTOMATION DOES NOT WARRANT THE COMPLETENESS, TIMELINESS OR ACCURACY OF
ANY OF THE DATA CONTAINED IN THIS WEB SITE AND MAY MAKE CHANGES THERETO AT ANY TIME IN
ITS SOLE DISCRETION WITHOUT NOTICE. FURTHER, ALL INFORMATION CONVEYED HEREBY IS
PROVIDED TO USERS "AS IS." IN NO EVENT SHALL ROCKWELL BE LIABLE FOR ANY DAMAGES OF ANY
KIND INCLUDING DIRECT, INDIRECT, INCIDENTAL, CONSEQUENTIAL, LOSS PROFIT OR DAMAGE, EVEN
IF ROCKWELL AUTOMATION HAVE BEEN ADVISED ON THE POSSIBILITY OF SUCH DAMAGES.

ROCKWELL AUTOMATION DISCLAIMS ALL WARRANTIES WHETHER EXPRESSED OR IMPLIED IN
RESPECT OF THE INFORMATION (INCLUDING SOFTWARE) PROVIDED HEREBY, INCLUDING THE IMPLIED
WARRANTIES OF FITNESS FOR A PARTICULAR PURPOSE, MERCHANTABILITY, AND NON­
INFRINGEMENT. Note that certain jurisdictions do not countenance the exclusion of implied warranties; thus,
this disclaimer may not apply to you.

This page is best viewed in Internet Explorer 10, Firefox 31, Chrome 37, Safari 6 or newer.


Top (/app/answers/detail/a_id/63289/related/1#top)

New Site Feedback


Give Feedback

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/63289/related/1 3/4
12/10/2016 63289 ­ Acknowledge all alarms in the Alarms and Events Summary without the popup comment

      
(http://www.rockwellautomation.com/global/blog/overview.page)
(https://www.facebook.com/ROKAutomation)
(https://plus.google.com/+RockwellautomationInc)
(https://www.linkedin.com/company/rockwell­
(http://www.slideshare.net/RockwellAutomation)
(http://twitter.com/ROKAutomation)
(http://www.youtube.com/rokautomation)
automation)


Top (/app/answers/detail/a_id/63289/related/1#top)

https://rockwellautomation.custhelp.com/app/answers/detail/a_id/63289/related/1 4/4

You might also like