TN HistClient122 How to auto login to the Historian Client ActiveData Grid
Last updated: March 4th, 2025Description
- Author: Benjamin Davis
- Published: March 4th, 2025
Details:
Description
Method to automatically login to the Historian Client ActiveDataGrid
- Author: Benjamin Davis
- Published: 12/28/2015
- Applies to: InTouch 2014R2
Details
Add the Historian Client ActiveDataGrid to an InTouch window
How to add the Historian Client ActiveDataGrid to an InTouch window
Name the ActiveDataGrid
- Double click the ActiveDataGrid
- Type in the name in the ControlName field, e.g., aaHistClientActiveDataGrid1
Use the dot fields of the ActiveData Grid in a script
#aaHistClientActiveDataGrid1.ServerName = "<IP address or name of the computer running SQL Server>";
#aaHistClientActiveDataGrid1.UserName = "<SQL Server username>";
#aaHistClientActiveDataGrid1.Password = "<SQL Server password";
Example:
#aaHistClientActiveDataGrid1.ServerName = "192.168.0.1";
#aaHistClientActiveDataGrid1.UserName = "sa";
#aaHistClientActiveDataGrid1.Password = "SecretPassword#1234";