Some content on this site is available only to logged-in subscribers. Contact Us for information on becoming a subscriber.

InSource.Solutions | InSource Training | InSource Client Portal
InSource Solutions Logo
Log In Sign Up
InSource.Solutions InSource Training InSource Client Portal Log In Sign Up
  • Home
  • AVEVA InTouch
  • AVEVA InTouch Tech Notes

TN IT236 How to Change the Query in the ActiveX Alarm Viewer Control in Wonderware InTouch WindowViewer

Last updated: March 6th, 2025

Description

  • Author: Benjamin Davis
  • Published: March 6th, 2025

Details:

Description

This article from InSource shows How to Change the Query in the ActiveX Alarm Viewer Control in Wonderware InTouch WindowViewer with a script

  • Author: Benjamin Davis
  • Published: 09/29/2016
  • Applies to: InTouch 2014 R2

Details

Use the .ApplyQuery dot field.

Example

#AlarmViewerCtrl1.ApplyQuery ("\InTouch!System",1,999,"All", "Summary");

#AlarmViewerCtrl1 is the control name of the alarm viewer

\InTouch!System is the alarm query

1 is the highest priority alarms wished to be seen (1 to 999)

999 is the lowest priority alarms wished to be seen (1 to 999)

All is the alarm states wished to be seen (All, Ack, Unack)

Summary is the query type wished to be seen (Summary, Historical)

Other examples...

#AlarmViewer.ApplyQuery ("\InTouch!Plant", 20, 100, "Unack", "Summary");

#HistAlarms.ApplyQuery ("\InTouch!Area3", 2, 500, "All", "Historical");

modify query activex control
Give feedback about this article

Recommended articles

TN 1393 Deleting Tags from AVEVA Insight

Read More

How to receive group emails

Read More
Support Icon

CONTACT SUPPORT

How to reach us

10800 Midlothian Turnpike Tpke, Suite 209, Richmond, VA 23235

1.877.INSOURCE

Technical Support - 1.888.691.3858

Contact Us

  • InSource Solutions
  • InSource Training
  • InSource Client Portal
  • Log In
InSource Solutions Logo

© 2025 InSource Solutions. All Rights Reserved.

Knowledge Base Software powered by Helpjuice

Expand