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 OMI
  • AVEVA OMI Tech Notes

TN OMI113 Add Historian Client Trend tags dynamically in OMI

Last updated: March 8th, 2025

Description

  • Author: Michael Viteri
  • Published: March 8th, 2025

Details:

Description

How to Add Historian Client Trend tags dynamically to an OMI Application

  • Author: Mike Viteri
  • Published: 5/5/2020
  • Applies to: Software Name & Version

Details

  1. You will have to create a ViewApp Namespace that will hold the tags. In this example I have called the name space mytrendsettings.
  2. Open the name space you need to click “Add” Then change to name to a string. In this example I called it mikespens. Under Initial values you can give a set of Historized Tags to start with. They are called Userdeifined_001.Count and Systimesec.

    Note: Each tag name has to be separated by a comma.

  3. Now when you open your OMI application. Your default pens will be loaded when the Trend appears.
  4. Now create an Archestra graphic with a button that will allow you to change the pens. In this example my button is called “Pens”. I created an action script on the button which uses the reference. MyViewApp.Mytrendsettings.mikespens. In the example below im passing the “systimehour”tag. I can add any tags and when the button is clicked it dynamically changes the tags on the trend screen.
  5. Now when clicking the pens button, the Trend automatically changes the pen to Systimehour

 

historian client dynamic trending
Give feedback about this article

Recommended articles

TN 1209 Exiting OMI Applications Programmatically

Read More

TN 1208 Adding Query to an OMI application

Read More

TN - 1197 Using a Namespace to Assign Pens to the HistoricalTrend App

Read More

TN 1035 How to show an industrial graphic in a particular pane in InTouch OMI

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