Wonderware Intouch Alarms - Filter on Single Tag in ActiveX AlarmViewerCtrl

517 Views Asked by At

I need to filter/query a single tag in the AlarmViewerCtrl ActiveX object. I know that I can create Query Favorites but my requirement is to dynamically (at runtime) filter a specific Tag Name(s) to display in the ActiveX Alarm object.

Ultimately what I need is a way to force (maybe SQL injection??) the AlarmViewerCtrl to use a custom (runtime) Select statement such as:

SELECT *
  FROM [WWALMDB].[dbo].[v_AlarmHistory]
  WHERE TagName Like 'M_100%' 
0

There are 0 best solutions below