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 IT237 Tagname Undefined, Define "MoveWindow"?

Last updated: February 21st, 2025

Description

  • Author: Rich Brooks
  • Published: February 21st, 2025

Details:

Description

This article from InSource shows how to resolve a "Tagname Undefined" popup message when upgrading a Wonderware InTouch HMI application. The MoveWindow() function is used as example, since it is commonly seen when upgrading from older versions of the software.

  • Author: Rich Brooks
  • Published: 12/13/2016
  • Applies to: InTouch 2014R2 SP1 and higher

Details

An unrecognized function found in a script during the InTouch application upgrade process frequently triggers a "Tagname Undefined" popup message. 

InTouch prompts the user to create a tagname with the name of the missing function. These functions are typically not part of the standard install. For example, the MoveWindow() function was provided as part of a Tech Support Script Function Library (wwtechsp.*). This was an optional library of functions downloaded from the Wonderware Tech Support website. Below are some details on the MoveWindow() function.

MoveWindow(InfoAppTitle(textviewer), View_X0, View_Y0, View_X1, View_Y1 );

This function was incorporated into the product starting with InTouch 8.0 SP1. The problem is the function was renamed to from MoveWindow() to WWMoveWindow().

Selecting OK or Cancel in response to the Define "MoveWindow"? dialog box results in the removal of all of the scripting associated with the function. In this example, a lengthy While Showing windows script was removed from each of (24) windows when attempting to upgrade the application with the MoveWindow() function.

The following are two options to avoid this problem.

  1. Install the missing script function on the new machine before attempting the upgrading process.
  2. Comment out the missing script function from the old version of InTouch before attempting the upgrade.

In either case, the MoveWindow() function should be replaced with WWMoveWindow() following the upgrade to avoid this problem in future upgrades. 

define function move method
Give feedback about this article

Recommended articles

How to receive group emails

Read More

Aveva Diagnostic Utility wwClient

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