Skip to main content
InSource Solutions

TN - 1468 Embedding Historian Client Query into an Industrial Graphic

Description

 

This article from InSource shows how to embed the Historian Client Query utility into an Industrial Graphic to be placed in a window.   This would allow the operator to stay with the confines of WindowViewer with the capability to pull back Historical information in a tabular format vs a Trend.   

  • Author: Glenn Yancey
  • Published: 09/30/2024
  • Applies to:  InTouch 2023 R2 and higher

Details

Although this feature was available in earlier versions of InTouch, I am showing the import process from version 2023 R2.

1)      In WindowMaker, open up the Backstage feature by selecting “FILE” at the top left.   

2)      In the backstage area, go to Import/Visualization/Client Control.

clipboard_e553b3afee7ea02cef0c93055f0d6a89e.png

3)      Go to the following directory after selecting Client Control “C:\Program Files (x86)\Common Files\ArchestrA”, and select the file “aaHistClientQueryControl.dll”. 
Note: You only have to do this step once.

clipboard_e2d591457073d6f39c8462c2a2ac3bba1.png

4)      Create a new Graphic in the Industrial Graphic Toolbox.

a.      clipboard_e61d63fd2a738748843aaeb0fcfc76709.png

5)      In the Symbol Editor, select to Embed Industrial Graphic, and then in the root folder, you will see the aaQueryControl.    Select and create the object into the screen. 

clipboard_e465b1dd79e30de6426b56bedf5b35e1f.png

 

6)      Once the graphic is on the screen, you can even programmatically interact with it much like you could with the aaTrendControl.  

clipboard_e7a1880c34a64e0aa19d560411d3e3586.png

 

7)      Use a button to Show Symbol or to ShowGraphic() to call this symbol. 

clipboard_ecf4ab1dd5d088abaa48e67fff80bd84b.png