Skip to main content
InSource Solutions

How to use the Historian Client Active Data Grid Control Inside Intouch

insource logo large.jpg

                           Technote                    

 

Description

Use the Historian Client Active Data Grid Active X to display query data on an Intouch window.

 

  • Author: Mike Viteri
  • Published: 12/18/2014
  • Applies to: Historan Client & Intouch

 

How and When to Use this Guide

When you would like to display query data on an Intouch window.

Instructions

You will need to make sure you have Historian Client installed. This will allow the Active X control to be expose to Intouch.

 

1. Open Windowmaker and Go to Special->Configure->Wizard/Active X controls.

 

datagrid.JPG

 

2. Then from the bottom window select aahHistClientActiveDataGrid Control. Once its selected then click install on the right hand side of the screen. This will then move the control up into the "installed Active X controls". Then close out.

 

datagrid1.JPG

 

3. Now go into the Intouch wizard hat and select  the aaHistClientActiveDatatGrid controls.

 

datagrid2.JPG

 

4. Drag this control over the Intouch window. Also create a button next to the control.

 

datagrid4.JPG

 

5. Double click on the button and select touch push button->action script. Then you will select insert from the file menu then select ActiveX

 

datagrid5.JPG

 

6. Next you will select methods from the Active X Control. They are Servername,Username and Password.

 

datagrid6.JPG

 

Enter your Servername, Username and Password. This will allow logon to the Historian. Save and go into Windowviewer

 

datagrid7.JPG

 

7. Once in Windowviewer you can click the button you created. This will allow you to logon to your Historian. Then right click on your control and select SQL.

 

datagrid8.JPG

 

8. On the Active Data Grid Properties select template.(You can also insert your customer query)

 

datagrid9.JPG

 

9. Select the template you want to use. Here we are using Analog History. Press select.

 

datagrid10.JPG

 

 

10. This will paste the query in SQL tab of the control. Hit ok.

 

datagrid11.JPG

 

11. Now your data should appear.

 

datagrid12.JPG

 

 

 

Confirmation of Success

Data is returned in your Intouch window.

  • Was this article helpful?