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 IT115 Automatically load a Combo Box to select a Historical Trend file and display the Trend in an Archestra Graphic.

Last updated: February 20th, 2025

Description

  • Author: Ted Fluehr
  • Published: February 20th, 2025

Details:

Description

This TechNote discusses the following:

Automatically look at a specific system directory for Historian Client Trend files.

Automatically load an Archestra Combo Box with a list of the files to be selected.

Have the ability to select a specific Trend file to be opened.

Open the Historical Trend file inside an Archestra Graphic

  • Author: Ted Fluehr
  • Published: 03/25/2015
  • Applies to: Tested on System Platform 2014R2

Details

Make sure you have the Historian Client Trend Control available in the Graphic Toolbox. If not you will need to import using the Galaxy/Import/Client Control from the IDE. You will browse to the install CD to find the control. (E:\InstallFiles\CD-HistorianClients\HistorianClient\Global Assembly Cache\aaHistClientTrendControl.dll)

Create a new Archestra Symbol and insert the Trend Control

Create 2 String Custom Properties (Right Click on the graphic background and select Custom Properties) as shown below. Set the default value of the TrendDir to be the directory where you will host your your .aaTrnd files.

Place a Combo Box on the canvas and configure the Selected Item Value Reference to point to the Custom Property “TrendFile” as shown below.

Create two scripts (Right Click on canvas and select scripts) as shown below. The On Show script will load the Combo Box with all the Trend Files found in the Trend Directory (TrendDir) to be selected by the user. 

Create the “UpdateTrend” script as shown below. This script will trigger when the user selects a new Trend File from the Combo Box and open the selected Trend file in the HistClient Trend control.

Place the newly created Archestra Symbol in an InTouch Window and test at runtime. Below shows this new graphic with all the Trend files found in the specified Trend directory loaded into the Combo Box and when selected will then open it's Trend configuration.

 

history selection graphic display
Give feedback about this article

Recommended articles

TN 1242 Aveva Historian Storage Locations and Best Practices

Read More

TN 1393 Deleting Tags from AVEVA Insight

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