It Maintain
It Maintain
aveva.com
© 2015-2023 by AVEVA Group Limited or its subsidiaries. All rights reserved.
No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any
means, mechanical, photocopying, recording, or otherwise, without the prior written permission of AVEVA
Group Limited. No liability is assumed with respect to the use of the information contained herein.
Although precaution has been taken in the preparation of this documentation, AVEVA assumes no responsibility
for errors or omissions. The information in this documentation is subject to change without notice and does not
represent a commitment on the part of AVEVA. The software described in this documentation is furnished under
a license agreement. This software may be used or copied only in accordance with the terms of such license
agreement. AVEVA, the AVEVA logo and logotype, OSIsoft, the OSIsoft logo and logotype, ArchestrA, Avantis,
Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, IntelaTrac, InTouch, Managed PI, OASyS, OSIsoft
Advanced Services, OSIsoft Cloud Services, OSIsoft Connected Services, OSIsoft EDS, PIPEPHASE, PI ACE, PI
Advanced Computing Engine, PI AF SDK, PI API, PI Asset Framework, PI Audit Viewer, PI Builder, PI Cloud
Connect, PI Connectors, PI Data Archive, PI DataLink, PI DataLink Server, PI Developers Club, PI Integrator for
Business Analytics, PI Interfaces, PI JDBC Driver, PI Manual Logger, PI Notifications, PI ODBC Driver, PI OLEDB
Enterprise, PI OLEDB Provider, PI OPC DA Server, PI OPC HDA Server, PI ProcessBook, PI SDK, PI Server, PI Square,
PI System, PI System Access, PI Vision, PI Visualization Suite, PI Web API, PI WebParts, PI Web Services, PRiSM,
PRO/II, PROVISION, ROMeo, RLINK, RtReports, SIM4ME, SimCentral, SimSci, Skelta, SmartGlance, Spiral Software,
WindowMaker, WindowViewer, and Wonderware are trademarks of AVEVA and/or its subsidiaries. All other
brands may be trademarks of their respective owners.
U.S. GOVERNMENT RIGHTS
Use, duplication or disclosure by the U.S. Government is subject to restrictions set forth in the license agreement
with AVEVA Group Limited or its subsidiaries and as provided in DFARS 227.7202, DFARS 252.227-7013, FAR
12-212, FAR 52.227-19, or their successors, as applicable.
Publication date: Thursday, November 2, 2023
Publication ID: 1068056
Contact information
AVEVA Group Limited
High Cross
Madingley Road
Cambridge
CB3 0HB. UK
https://sw.aveva.com/
For information on how to contact sales and customer training, see https://sw.aveva.com/contact.
For information on how to contact technical support, see https://sw.aveva.com/support.
To access the AVEVA Knowledge and Support center, visit https://softwaresupport.aveva.com.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 2
Contents
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 3
AVEVA™ InTouch HMI
Contents
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 4
AVEVA™ InTouch HMI
Contents
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 5
AVEVA™ InTouch HMI
Contents
Chapter 7 Alarms. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Migrating from Legacy Alarm Systems. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 99
Migrating from the Standard Alarm System to the Distributed Alarm System. . . . . . . . . . . . . . . . . . . . . . . . 100
Maintaining the Alarm Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Configuring Purge or Archive Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 100
Connecting to the Alarm Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 101
Configuring How Much Data to Purge from the Server. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 103
Configuring the Archive of Purged Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 104
Configuring Log File Settings. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 106
Manually Purging and Archiving the Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 107
Setting a Schedule for Automatic Purging. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 109
Restoring the Alarm Database. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Configuring the Database Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 111
Configuring Which Files to Restore. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 113
Starting a Database Restore Operation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 115
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 6
Chapter 1
This section describes about migrating and upgrading different InTouch applications.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 7
AVEVA™ InTouch HMI
Chapter 1 – Migrating and Upgrading Applications
• In-place migration of older modern applications: If the node contains old Modern applications and the
product version on the node is upgraded, then you migrate the application using the Application Manager.
• Importing .aapkg files of modern applications exported from earlier versions of InTouch HMI.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 8
AVEVA™ InTouch HMI
Chapter 1 – Migrating and Upgrading Applications
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 9
AVEVA™ InTouch HMI
Chapter 1 – Migrating and Upgrading Applications
You can import existing modern applications using the Application Manager, which will be converted to a
Standalone application. Standalone applications can be copied from one node to another and found using the
Find Applications option, they do not need to be imported or exported.
To import an existing modern application:
1. On the File menu, in the Import group, click Import.
The Create New Application: Select an application to import screen appears.
2. Use the Find Applications section to search for the application you want to import. Search for a folder or a
file to import.
3. Select the application and click Next.
The Enter Application Details screen appears.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 10
Chapter 2
You can manage your InTouch applications using the IDE. The following procedure shows you how to do this in a
general way. For more specific information, see Managing InTouch Applications with the IDE.
The InTouch functionality in the System Platform IDE is handled by two AutomationObjects:
• The InTouchViewApp object represents an InTouch application at design time and run time.
• The ViewEngine object controls how an InTouch application runs on a target node in a Galaxy.
The following diagram shows how InTouch applications are managed using the System Platform IDE:
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 11
AVEVA™ InTouch HMI
Chapter 2 – Managing InTouch Applications Using the System Platform IDE
InTouchViewApp Object
Application Server manages your InTouch applications with a specific type of Application Server object called the
InTouchViewApp object.
An InTouchViewApp template references one specific managed InTouch application at design time and cannot be
executed at run time.
You must create an instance of the InTouchViewApp template. This instance can be deployed to a target node.
The target node is the node on which the managed InTouch application runs in WindowViewer.
To distribute an InTouch application, you create multiple instances of the same template and deploy them to
multiple nodes.
Optionally, you can:
• Export and import the InTouchViewApp object to exchange managed InTouch applications across Galaxies.
• Export and import tag dictionary data as .csv files.
• Export and import windows between different types of InTouch applications.
• Publish the managed InTouch application. The published InTouch application runs like a standalone InTouch
application but can contain Industrial Graphics.
• Use the attributes of the deployed InTouchViewApp object to read from and write to InTouch tags with
ArchestrA attributes.
To use the InTouchViewApp object
1. Derive an InTouchViewApp template from the $InTouchViewApp base template.
2. Associate the derived template with an InTouch application by creating a new InTouch application or
importing a standalone InTouch application.
3. Open the application in WindowMaker.
4. Configure the application in WindowMaker and test it in WindowViewer.
5. Save and close WindowMaker. The InTouchViewApp template is checked in.
6. Derive instances from the InTouchViewApp template.
7. Deploy these instances to selected target nodes within the Galaxy.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 12
AVEVA™ InTouch HMI
Chapter 2 – Managing InTouch Applications Using the System Platform IDE
8. Run Application Manager on the target nodes and run the managed InTouch applications in WindowViewer.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 13
AVEVA™ InTouch HMI
Chapter 2 – Managing InTouch Applications Using the System Platform IDE
After you deploy the InTouchViewApp object, you can open the InTouch Application Manager on the target node.
The associated managed InTouch application appears in the list together with the time stamp of its last
deployment in the Date Modified column.
When you deploy the InTouchViewApp instance to a target node, the InTouch application is contained in:
• A folder on the development node. This contains the source for the InTouchViewApp template.
• A folder on the target node from which the InTouch application runs. This contains an instance copy of the
InTouch application.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 14
AVEVA™ InTouch HMI
Chapter 2 – Managing InTouch Applications Using the System Platform IDE
In this example, a deployed managed InTouch application uses a real tag TankLevel to report the fill level of a
tank and a discrete tag ValveOut to control the state of a valve.
To read and write the InTouch tags from the InTouchViewApp object instance
1. Right-click the deployed InTouchViewApp object, and then click Monitor.
The Object Viewer screen appears.
2. Right-click in the Watch area, and then click Add Attribute Reference.
The Add Attribute Reference dialog box appears.
3. In the Attribute Reference box, type the name of the InTouchViewApp object followed by a dot and the
name of the InTouch tag you want to read or write. For example, TankDemo_001.TankLevel.
4. Click OK. The attribute is added to the Watch area.
5. Repeat steps 2 through 4 for any other InTouch tags you want to read or write.
6. You can now view the InTouch tag value.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 15
AVEVA™ InTouch HMI
Chapter 2 – Managing InTouch Applications Using the System Platform IDE
• Change the association between the InTouchViewApp and the InTouch application, create a new derived
InTouchViewApp template instead.
• Use ArchestrA security (Galaxy security) in InTouch, deploy a WinPlatform instance to the node on which the
deployed managed InTouch application is running.
ViewEngine Object
The ViewEngine is an Application Server object that hosts and runs deployed InTouchViewApp objects.
To deploy an InTouchViewApp instance to a target platform, you need to assign it to a ViewEngine object first.
The ViewEngine object is then assigned to the target WinPlatform object.
The ViewEngine fulfils the same functions for the InTouchViewApp instances as the AppEngine instance does for
the Application Objects. The ViewEngine:
• Sets up and initializes the InTouchViewApp objects when they are initially deployed and started, so that they
can communicate with other objects in the Galaxy.
• Performs diagnostics on attributes that can be monitored, alarmed, and historized.
• Historizes data to the Historian.
You can use different ViewEngine objects to:
• Historize data to different Historians.
• Interact with deployed InTouch applications at different scan rates. This sets at which frequency InTouch tag
data can interact with the Galaxy name space.
A platform can host multiple ViewEngine objects. Every InTouchViewApp must be assigned to a ViewEngine.
You cannot create multiple instances of the same InTouchViewApp template to run under the same ViewEngine
object. But you can run multiple instances of the same template under different ViewEngine objects.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 16
Chapter 3
You can build InTouch applications more quickly by importing or exporting some or all of the components of an
existing application. You can import tag definitions, windows, scripts, application style libraries, Industrial
graphics, client controls, localization strings, HTML5 widgets, and script function libraries from your existing
application to a new application. Tag definitions are imported and exported from the Application Manager, other
components are imported and exported via WindowMaker.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 17
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
InTouch Application
DBDump
Tagname
Dictionary
CSV File
PumpInP PumpRPM
Inlet
RPM
Pressure
PumpOutP PumpState
Outlet On/Off
Pressure State DBLoad
You use the DBDump utility within the Application Manager to export the contents of the Tagname Dictionary to
a Comma Separated Value (CSV) file. You can view and edit the exported file with Microsoft Notepad or
Microsoft Excel. After making edits, you then import the tag definitions to an InTouch application with the
DBLoad utility, which is also an Application Manager utility.
You must convert an application to the current version of the InTouch HMI software before you can export the
tag definitions.
To export tag definitions
1. Close WindowMaker and WindowViewer.
2. Start Application Manager. The Application Manager dialog box shows a list of InTouch applications.
3. Select the application from the list.
4. On the File menu, in the Data group, select DBDump. The CSV File to Dump To: dialog box appears.
5. In the Name of CSV Dump file box, type a name for the file with a .csv file name extension.
6. Select the type of data grouping in the export file.
• Select the Group output by types check box to group the data by the types of tags in the export file. This
is the default.
• Clear Group output by types to save the output to the export file alphabetically by tag name.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 18
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
7. Click OK to save the contents of the Tagname Dictionary to the selected file. A message appears indicating
the contents were saved successfully to the file.
The file consists of keywords, their attributes, and data from the Tagname Dictionary arranged in column order
beneath keyword attributes.
Notice the :MemoryDisc keyword in the example of the Excel spreadsheet. This keyword identifies memory
discrete tags that were exported from a Tagname Dictionary. On the same spreadsheet row, the attributes of a
memory discrete tag appear in separate spreadsheet columns. For example, the Logged attribute column shows
whether a memory discrete tag’s data is logged or not.
Immediately beneath the keyword and attributes row are the exported tags and their associated properties. In
the example of the Excel spreadsheet, OutputValve is a memory discrete tag whose data is not logged.
You can view or edit the export file created by DBDump with any program that supports the .csv file format.
Typically, Excel is used because its columnar spreadsheet format makes it easy to organize tag data. But, you can
also use Microsoft Notepad if you prefer to view or edit the file’s contents in its native comma-delimited string
format.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 19
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Keyword Description
:mode Specifies how duplicate tag records are handled when importing the
contents of the DBLoad file to an application’s Tagname Dictionary.
Each keyword includes a set of associated attributes that specify the properties of Access Names, alarm groups,
and tags. For example, the :IOAccess keyword includes attributes to specify the application, topic, and
communication protocol, which are properties of every InTouch Access Name.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 20
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
The following figure shows a template import file created by DBDump. The figure shows a file created from an
InTouch application that has no windows nor tags. The resulting file only includes the required keywords and
attributes without tag data.
After creating a template, you then manually add tag data beneath the keyword that identifies the type of tag.
You insert the properties of your tags in the corresponding attribute columns associated with the tag type
keywords.
To create a template import file
1. Open the Application Manager.
2. Create a new InTouch application.
For more information about the steps to create an application, see Creating an InTouch Application.
3. Select the new application from the list shown in Application Manager.
4. Export the contents of the application’s Tagname Dictionary with the DBDump utility.
For more information about exporting tags, see Exporting Tag Definitions.
5. Edit the file to insert tag data that you want to import.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 21
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
:MODE=TEST
:MODE=REPLACE
If a duplicate tag is encountered, the DBLoad utility deletes the existing tag in the Tagname Dictionary and
replaces it with the tag from the import file with the same name.
:MODE=UPDATE
If a duplicate tag is encountered, the DBLoad utility overwrites the existing tag definition in the Tagname
Dictionary only with data explicitly specified from the import file. All other data associated with the tag remains
unchanged in the Tagname Dictionary.
Fields are considered explicitly defined if the field is in the record and entered by you or is set by the
":KEYWORD=value" mechanism. If a field is not specified in the record, and the keyword has been reset using the
":KEYWORD=" command, the current field value is not updated.
The following is an example of what occurs when an import file in the update mode is loaded/merged into the
Tagname Dictionary:
:Mode=update
:Group=Group1
:IODisc,Group,DConversion
Tagname1,Group2,
; Tagname1's Group updated to Group2 only
Tagname2,,
; Tagname2's Group updated to Group1 and the DConversion left as is
Tagname3,,Reverse
; Tagname3's Group updated to Group1 and the DConversion to "Reverse"
; the following line "resets" the Group field to its default value
:Group=
; Data field "Group" is reset to its default value
Tagname4,,
; Tagname4 will be left alone
The tag types must be compatible if the type is being changed and the tag is in use. For example, an existing
historical trend tag cannot be changed to an I/O Integer if the tag is in use by the application. Also, a tag cannot
be changed to ReadOnly=yes if the tag is being used on an input link in the application. Because of these
restrictions, update the use counts for the target application before running the DBLoad utility.
:MODE=ASK
DBLoad stops when a duplicate tag is encountered while loading the Tagname Dictionary. The Duplicate Name
dialog box appears and shows a list of options to handle duplicate tags. This is the default import mode.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 22
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
:MODE=IGNORE
The DBLoad import utility ignores the duplicate tag and continues processing the remaining records of the
import file.
:MODE=TERMINATE
The DBLoad import operation stops when a duplicate tag is encountered.
:MODE=TEST
DBLoad scans the import file for errors and does not attempt to load tag definitions into the Tagname Dictionary.
DBLoad generates a report that identifies any format errors by line number and location in the import file.
Run DBLoad with :mode=test first to identify any errors in the import file. After correcting any errors, change the
mode keyword value to :mode=replace or :mode=update before running DBLoad.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 23
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
The following table shows the list of attributes associated with the :IOAccess keyword. The table lists the
attributes in the order they are specified when using a template import file created with the DBDump utility.
String Default
Position Attributes Acceptable Values Values
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 24
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
String Default
Position Attributes Acceptable Values Values
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 25
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
String Default
Position Attributes Acceptable Values Values
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 26
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
String Default
Position Attributes Acceptable Values Values
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 27
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
:IODisc,Group,Comment,Logged,EventLogged, EventLoggingPriority,RetentiveValue,InitialDis,
OffMsg,OnMsg,AlarmState,AlarmPri,DConversion, AccessName,ItemUseTagname,ItemName,ReadOnly,
AlarmComment,AlarmAckModel,DSCAlarmDisable, DSCAlarmInhibitor,SymbolicName
Beneath the tag type keyword line, individual rows specify the tags of that type with a set of attribute values. In
the following example, the HDWStatus tag belongs to the I/O Discrete tag type in the import file.
"HDWStatus","$System","",No,No,0,No,Off,"","",,1,Direct,"HistdataViewstr",No,"Status",No,""
,0,0,"",""
The record uses quotation marks to identify a blank string.
The following figure shows the same import file data in an Excel spreadsheet. The Comment cell is blank because
no tag comment is specified in the import file.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 28
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 29
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 30
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 31
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 32
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 33
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
Default
Attribute Acceptable Value Value
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 34
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
1 Group
2 Comment
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 InitialDisc
8 OffMsg
9 OnMsg
10 AlarmState
11 AlarmPri
12 AlarmComment
13 AlarmAckModel
14 DSCAlarmDisable
15 DSCAlarmInhibitor
16 SymbolicName
1 Group
2 Comment
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 35
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 InitialDisc
8 OffMsg
9 OnMsg
10 AlarmState
11 AlarmPri
12 Conversion
13 AccessName
14 ItemUseTagname
15 ItemName
16 ReadOnly
17 AlarmComment
18 AlarmAckModel
19 DSCAlarmDisable
20 DSCAlarmInhibitor
21 SymbolicName
1 Group
2 Comment
3 Logged
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 36
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 RetentiveAlarmParameters
8 AlarmValueDeadband
9 AlarmDevDeadband
10 EngUnits
11 InitialValue
12 MinValue
13 MaxValue
14 Deadband
15 LogDeadband
16 LoLoAlarmState
17 LoLoAlarmValue
18 LoLoAlarmPri
19 LoAlarmState
20 LoAlarmValue
21 LoAlarmPri
22 HiAlarmState
23 HiAlarmValue
24 HiAlarmPri
25 HiHiAlarmState
26 HiHiAlarmValue
27 HiHIAlarmPri
28 MinorDevAlarmState
29 MinorDevAlarmValue
30 MinorDevAlarmPri
31 MajorDevAlarmState
32 MajorDevAlarmValue
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 37
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
33 MajorDevAlarmPri
34 DevTarget
35 ROCAlarmState
36 ROCAlarmValue
37 ROCAlarmPri
38 ROCTimeBase
39 AlarmComment
40 AlarmAckModel
41 LoLoAlarmDisable
42 LoAlarmDisable
43 HiAlarmDisable
44 HiHiAlarmDisable
45 MinDevAlarmDisable
46 MajDevAlarmDisable
47 RocAlarmDisable
48 LoLoAlarmInhibitor
49 LoAlarmInhibitor
50 HiAlarmInhibitor
51 HiHiAlarmInhibitor
52 MinDevAlarmInhibitor
53 MajDevAlarmInhibitor
54 RocAlarmInhibitor
55 SymbolicName
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 38
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
1 Group
2 Comment
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 RetentiveAlarmParameters
8 AlarmValueDeadband
9 AlarmDevDeadband
10 EngUnits
11 InitialValue
12 MinEU
13 MaxEU
14 Deadband
15 LogDeadband
16 LoLoAlarmState
17 LoLoAlarmValue
18 LoLoAlarmPri
19 LoAlarmState
20 LoAlarmValue
21 LoAlarmPri
22 HiAlarmState
23 HiAlarmValue
24 HiAlarmPri
25 HiHiAlarmState
26 HiHiAlarmValue
27 HiHIAlarmPri
28 MinorDevAlarmState
29 MinorDevAlarmValue
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 39
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
30 MinorDevAlarmPri
31 MajorDevAlarmState
32 MajorDevAlarmValue
33 MajorDevAlarmPri
34 DevTarget
35 ROCAlarmState
36 ROCAlarmValue
37 ROCAlarmPri
38 ROCTimeBase
39 AlarmComment
39 MinRaw
40 MaxRaw
41 Conversion
42 AccessName
43 ItemUseTagname
44 ItemName
45 ReadOnly
46 AlarmComment
47 AlarmAckModel
48 LoLoAlarmDisable
49 LoAlarmDisable
50 HiAlarmDisable
51 HiHiAlarmDisable
52 MinDevAlarmDisable
53 MajDevAlarmDisable
54 RocAlarmDisable
55 LoLoAlarmInhibitor
56 LoAlarmInhibitor
57 HiAlarmInhibitor
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 40
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
58 HiHiAlarmInhibitor
59 MinDevAlarmInhibitor
60 MajDevAlarmInhibitor
61 RocAlarmInhibitor
62 SymbolicName
1 Group
2 Comment
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 RetentiveAlarmParameters
8 AlarmValueDeadband
9 AlarmDevDeadband
10 EngUnits
11 InitialValue
12 MinValue
13 MaxValue
14 Deadband
15 LogDeadband
16 LoLoAlarmState
17 LoLoAlarmValue
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 41
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
18 LoLoAlarmPri
19 LoAlarmState
20 LoAlarmValue
21 LoAlarmPri
22 HiAlarmState
23 HiAlarmValue
24 HiAlarmPri
25 HiHiAlarmState
26 HiHiAlarmValue
27 HiHiAlarmPri
28 MinorDevAlarmState
29 MinorDevAlarmValue
30 MinorDevAlarmPri
31 MajorDevAlarmState
32 MajorDevAlarmValue
33 MajorDevAlarmPri
34 DevTarget
35 ROCAlarmState
36 ROCAlarmValue
37 ROCAlarmPri
38 ROCTimeBase
39 AlarmComment
40 AlarmAckModel
41 LoLoAlarmDisable
42 LoAlarmDisable
43 HiAlarmDisable
44 HiHiAlarmDisable
45 MinDevAlarmDisable
46 MajDevAlarmDisable
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 42
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
47 RocAlarmDisable
48 LoLoAlarmInhibitor
49 LoAlarmInhibitor
50 HiAlarmInhibitor
51 HiHiAlarmInhibitor
52 MinDevAlarmInhibitor
53 MajDevAlarmInhibitor
54 RocAlarmInhibitor
55 SymbolicName
1 Group
2 Comment
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 RetentiveAlarmParameters
8 AlarmValueDeadband
9 AlarmDevDeadband
10 EngUnits
11 InitialValue
12 MinEU
13 MaxEU
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 43
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
14 Deadband
15 LogDeadband
16 LoLoAlarmState
17 LoLoAlarmValue
18 LoLoAlarmPri
19 LoAlarmState
20 LoAlarmValue
21 LoAlarmPri
22 HiAlarmState
23 HiAlarmValue
24 HiAlarmPri
25 HiHiAlarmState
26 HiHiAlarmValue
27 HiHiAlarmPri
28 MinorDevAlarmState
29 MinorDevAlarmValue
30 MinorDevAlarmPri
31 MajorDevAlarmState
32 MajorDevAlarmValue
33 MajorDevAlarmPri
34 DevTarget
35 ROCAlarmState
36 ROCAlarmValue
37 ROCAlarmPri
38 ROCTimeBase
39 MinRaw
40 MaxRaw
41 Conversion
42 AccessName
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 44
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
43 ItemUseTagname
44 ItemName
45 ReadOnly
46 AlarmComment
47 AlarmAckModel
48 LoLoAlarmDisable
49 LoAlarmDisable
50 HiAlarmDisable
51 HiHiAlarmDisable
52 MinDevAlarmDisable
53 MajDevAlarmDisable
54 RocAlarmDisable
55 LoLoAlarmInhibitor
56 LoAlarmInhibitor
57 HiAlarmInhibitor
58 HiHiAlarmInhibitor
59 MinDevAlarmInhibitor
60 MajDevAlarmInhibitor
61 RocAlarmInhibitor
62 SymbolicName
1 Group
2 Comment
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 45
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 MaxLength
8 InitialMessage
9 AlarmComment
10 SymbolicName
1 Group
2 Comment
3 Logged
4 EventLogged
5 EventLoggingPriority
6 RetentiveValue
7 MaxLength
8 InitialMessage
9 AccessName
10 ItemUseTagname
11 ItemName
12 ReadOnly
13 AlarmComment
14 SymbolicName
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 46
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
1 Group
2 Comment
3 SymbolicName
1 Group
2 Comment
3 SymbolicName
1 Group
2 Comment
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 47
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
1 Group
2 Comment
3 EventLogging
4 EventLoggingPriority
5 RetentiveValue
6 SymbolicName
1 Group
2 Comment
3 EventLogging
4 EventLoggingPriority
5 RetentiveValue
6 SymbolicName
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 48
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
1 Group
2 Comment
3 EventLogging
4 EventLoggingPriority
5 RetentiveValue
6 SymbolicName
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 49
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
This sets the default value of the referenced field for all subsequent data records. Use this feature to set the
default value for fields that should remain unchanged for a number of records. If a field has a default value
defined, the default value is used if there is no data in the record for the value.
For example, if you set :GROUP=Reactor_Site, then all tags that have a blank entry for the GROUP column are
assigned to the Reactor_Site Alarm Group. If the tag has, for example, $System entered for the GROUP, the tag
remains assigned to the Alarm Group $System.
You can reset an individual keyword to its original default value by omitting the value in the equation. For
example, :GROUP=.
To reset all keywords, use the :RESET command. This command does not have arguments and affects all entries
in the file that occur after the command.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 50
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
2. Back up the application whose Tagname Dictionary will be loaded with tag definitions from an import file.
3. Start Application Manager.
4. Select the application from the list whose Tagname Dictionary will receive the imported tag definitions.
5. On the File menu, in the Data group, click DBLoad.
A message appears requesting confirmation that you backed up the InTouch application.
6. Click Yes to confirm the application is backed up.
The CSV File to Load From dialog box appears.
7. In the Name of CSV Load file box, locate and select the file you want to import.
8. Click OK.
The next step varies based upon whether DBLoad imports new or existing tag definitions to the Tagname
Dictionary.
• If you are importing new tag definitions, the new tag data is loaded into the application’s Tagname
Dictionary. A message appears confirming the data was successfully loaded and merged.
• If you are importing existing tag definitions, the import stops if the :mode keyword is set to :mode=ask
and the import file contains duplicate tags. You are shown options to handle the duplicate tags or you
can cancel the import. For more information about keyword options, see Setting the Operating Mode for
Dictionary Import Files.
Known Limitation with Importing Tag Definitions using DBLoad Utility
The DBLoad utility may fail to import files or show performance issues when importing huge tag count
newtag.tag files of file size exceeding 2 GB.
Limitations:
• DBLoad may fail to import huge tag count file, if newtags.tag file size exceeds 2GB limit.
• DBLoad will hit performance issues while importing huge tag count CSV file.
Workaround:
Use the following registry entry to avoid importing tags to newtags.tag file, and instead import to the Tagname.x
file.
1. Open the Registry Editor.
2. Navigate to HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Wonderware\InTouch\Installation.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 51
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
3. Right-click on the Installation folder in the navigation pane, or anywhere in the main area, click New, and
click DWORD value.
4. Rename the newly created file as DisableWriteToNewTag.
5. Set “DisableWriteToNewTag” key to 1.
6. Now, import tags using DBLoad from CSV file, and the import will be successful.
The effect of different values of DisableWriteToNewTag registry key on the import functionality is listed below:
DisableWriteToNewTag registry key is present and DBLoad utility will skip importing to newtags.tag file
the DWORD value is set to 1
DisableWriteToNewTag registry key is present and DBLoad utility will import tags to newtags.tag file
the DWORD value is set to 0
Note: For InTouch HMI version 2023 onwards, the registry key DisableWriteToNewTag is not present by default,
and the DBLoad Utility skips importing to the newtags.tag file.
Importing Windows
Importing windows from an existing InTouch application into your current application allows you to reduce
development time because you can reuse your previously created windows, objects, and window scripts.
You must convert an application to the current version of the InTouch HMI software before you can import
windows.
By default, placeholders are created for the tags associated with an imported window. After importing, you can
convert the placeholders to local tags or remote tag references. For more information, see Tag Placeholders for
Imported Windows and Scripts. If the associated tags already exist in the target application, during the import
you can select to use these instead.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 52
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
When you import windows containing SmartSymbols and select to use existing tags, the InTouch HMI still keeps
placeholders for the recovered symbols, even though the tags are available in the target application.
When you import a window from an application that contains SuperTags, only the SuperTag instances actually
used in the window are imported into the new application. The entire SuperTag template structure is not
imported. For example, if the application has hundreds of SuperTag member tags defined in it, and only 50 of
those are used in the imported window, only those 50 are imported.
Important: If you move InTouch window files using any method other than importing or exporting them, the
contents of the application Tagname Dictionary can become corrupt.
To import a window
1. Close all windows in your current application.
2. On the File menu, click Import, click Visualization, and then click Windows and Scripts.
The Open Folder dialog box appears.
3. Select the folder for the application containing the windows to import.
4. Click OK.
The Application Data Import Options dialog box appears.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 53
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
7. Click Import.
8. Convert the placeholder tags to either local tags or remote tag references. For more information, see
Converting Placeholder Tags for an Imported Window.
9. If an imported window contains one or more wizards, double-click on each wizard to open its properties
panel. If an imported window contains one or more SmartSymbols, edit each SmartSymbol and create new
instances.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 54
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
6. Click OK.
Exporting Windows
You can export application windows to:
• Create or maintain a library application of all windows.
• Create remote tag references in another application.
You must convert an application to the current version of the InTouch HMI software before you can export
windows.
When you export a window, all objects and animation links associated with that window are exported. The tags
associated with the objects in the window are converted to placeholder tags to prevent existing tags in the
destination application from being overwritten. For more information on converting placeholder tags, see
Converting Placeholder Tags for an Imported Window.
Important: If you move InTouch window files using any method other than importing or exporting them, the
application’s Tagname Dictionary can be corrupted.
To export a window
1. Close all windows in your current application.
2. On the File menu, click Export, click Visualization, and then click Windows.
3. Select the windows to export, and click Export.
The Open Folder dialog box appears.
4. Select the folder of the application to which to export the windows.
5. Click OK.
6. If a problem occurs, the Problem with Export Operation dialog box appears. Click the option for the action
you want to take and then click OK.
Importing Scripts
You can import existing QuickScripts from an InTouch application into your current application to save
development time.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 55
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
You must convert an application to the current version of the InTouch HMI software before you can import
scripts.
By default, placeholders are created for the tags associated with an imported QuickScript. After importing, you
can convert the placeholders to local tags or remote tag references. For more information, see Tag Placeholders
for Imported Windows and Scripts. If the associated tags already exist in the target application, during the import
you can choose to use these instead.
To import a window script, you must import the entire window.
For an imported ActiveX Event script to function properly in the target application, the same ActiveX control and
the same event for which the script was originally created must also be used in the target application and it must
be loaded into memory. If the window containing an ActiveX control is closed, any scripts associated with it
(either ActiveX Event scripts or QuickScripts) do not run properly.
To import a QuickScript
1. Close all windows in your current application.
2. On the File menu, click Import, click Visualization, and then click Windows and Scripts.
The Open Folder dialog box appears.
3. Select the folder for the application that contains the scripts to import.
4. Click OK. The Application Data Import Options dialog box appears.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 56
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
5. Select the check box for the Qucik Function type(s) that you want to import and then click Select to select
the individual script(s) to import.
Note: To import a window script, you must import the entire window. For more information, see Importing
Windows.
6. Select the Use Existing Tags check box if the tags associated with the imported script(s) already exist in your
application and you want to use them instead of placeholders.
7. Click Import. If your application has scripts with identical names, you are prompted to overwrite, skip, or
rename.
8. Convert the placeholder tags to either local tags or remote tag references. For more information, see
Converting Placeholder Tags in an Imported Script.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 57
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 58
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 59
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
BEGIN
Import a window
or QuickScript
No No
No
END
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 60
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 61
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 62
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
7. Click Save.
A horizontal bar shows the progress of the Industrial Graphics being loaded into the export file.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 63
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
The existing client control .dll will be replaced, and the new control will now be available in the library.
If you see "Remove" in the Proceeding will column, it means there are controls in the current library that are not
in the importing library. Because the hosting .dll must be replaced to resolve the conflicting controls, any controls
that are in the current.dll but not in the importing .dll will be removed upon proceeing with the import.
For example, importing a client control .dll containing the controls MathControl and DatabaseControl and the
current library contains MathControl and TrendControl, TrendControl will be removed from the library upon
import.
The Import Client Control dialog box will prompt you to acknowledge the removal:
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 64
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
The library will be replaced and TrendControl will be removed upon completion of the import.
Restart WindowMaker to update the controls in the Graphic Toolbox.
Note: If you have imported a newer version of client control already embedded in a symbol, restarting
WindowMaker and refreshing the graphic thumbnail will not update the contents of the control. You must edit
and save the symbol for the new client control to be reflected in the thumbnail.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 65
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
in whole or in part. A widget is a self-contained code block that slots into a website without changing any of its
features. Widgets are most frequently used to provide on-screen user interface elements that ingrate with other
platforms and data sources. A widget can be run on any web page on a website, with consistent placement and
user interface. For example, social media, weather, RSS or podcast widgets.
By default, the following widgets are available under the Widgets folder in the Graphic Toolbox:
• Carousel
• Web Browser
• QR Code Scanner
• Map_App
You can import a widget for a standalone and managed application. The file format is Custom Widget Package
(.cwp), which includes HTML5, CSS, and Javascript files.
Importing HTML Widgets
1. Launch WindowMaker.
2. On the File menu, click Import, click Visualization, and then click HTML5 widget.
The Import HTML5 widget dialog box appears.
3. Select the folder for the application containing the windows to import.
4. Click OK.
The widget will appear in the toolbox.
After importing the widgets
1. Create a graphic.
2. Edit the graphic and embed the widget.
3. Set the properties under the Widget Properties section. Each widget will have its own set of properties.
4. Insert the widget on a window.
The widget can now be viewed on WindowViewer and any web browser. Depending on the properties set in the
design time you can manipulate the widget in runtime. Scripts using Custom Properties under ‘Widget
Properties’ to modify widgets are not supported.
Carousel Widget
A carousel widget allows you to cycle through elements—images or slides of text—like a carousel, without any
input. This widget can be used to display dashboards, alerts or alarm information on large monitors on the plant
floor.
Note: Client Control (Alarm Client Control and Trend Client Control) display in Carousel Widget is not supported
in Window Viewer and Web Client.
Properties
In addition to the standard graphics properties, you can also configure properties specific to the widget, under
Widget Properties.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 66
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 67
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
QR Code Scanner
The QRCode_Scanner widget connects to a camera to scan for a QR code and returns the resulting string.
Properties
Property Name Description Default Value
QRCode The resulting string of the scanned QR code. The default Empty
value is empty.
AutoStart If set to true, the camera will start automatically. True
AutoStop If set to true, the camera will stop after scanning a QR True
Code.
Start If set to true, the camera will start. False
BackgroundColor Sets the background color of the widget. Specify the Black
color value in RGB, HTML Code (#FF0000) or valid HTML
color name.
Limitation
• The device must have a camera.
• Using the QR Code on a physical machine instead of a virtual machine is recommended.
• Access the web client using the secure URL (https://) when using the web client remotely.
Usage
You can configure a script to read the QR code and display a graphic based on the scanned value.
In RunTime, the QR Code Scanner widget will appear with a floating toolbar with the following buttons -
AutoStart, AutoStop and StartStop.
When the widget is loaded, the camera will start automatically if AutoStart is set to True. To leave the camera on,
click AutoStop.
To manually start the camera, click StartStop and scan the QR Code.
The camera will stay on after you scan the QR code, allowing the user to scan additional QR codes. To stop the
camera, click StartStop.
The floating toolbar will display the QRCode derived from the QR Code scanned by the camera.
The user can script an action based on the QRCode returned.
Map_App Widget
The Map_App widget shows a map containing symbols within a running application. During run time, the map
provides controls and touch support to enable users to pan to different areas of the map and zoom in or out to
show more or less map detail. Graphics placed in a map typically represent business assets located within an
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 68
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
area shown by the map. These graphics can include alarming to show the current state of processes at each
business location.
Properties
You configure specific properties of the Map_App widget from the Industrial Graphic editor.
Property Description
MinZoom The minimum zoom percentage in which the map can be zoomed out
(0-100%) during run time.
MaxZoom The maximum zoom percentage in which the map can be zoomed in
(0-100%) during run time.
MaxBoundsSouth Latitude of the southern map boundary in decimal degrees (+/- 0-90) to
constrain the vertical panning movement of the screen viewport
midpoint to the bottom boundary of a map.
MaxBoundsWest Longitude of the western map boundary in decimal degrees (+/- 0-180) to
constrain the horizontal panning movement of the screen viewport
midpoint to the left boundary of a map.
MaxBoundsNorth Latitude of the northern map boundary in decimal degrees (+/- 0-90) to
constrain the vertical panning movement of the screen viewport
midpoint to the top boundary of a map.
MaxBoundsEast Longitude of the eastern map boundary in decimal degrees (+/- 0-180) to
constrain the horizontal panning movement of the screen viewport
midpoint to the right boundary of a map.
Asset Name of an asset selected from a displayed map.
CurrentLatitude Current latitude of a selected item shown on a map.
CurrentLongitude Current longitude of a selected item shown on a map.
CurrentZoom Current zoom level of a displayed map.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 69
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
FollowCurrentAsset Set this property to true to enable the MapApp widget to follow the
currently selected asset (context) and automatically pan and zoom the
map to display the asset’s location and associated symbol(the asset
should be added into the location tab in map app editor page and asset
level should be as "-1").
• Centers the map to a selected asset when the map is opened. You
can use the assets to navigate within a ViewApp. For instance, you
can display all the states and show a marker for each one of them.
Then, by selecting a state, from a map, you can set the focus of the
ViewApp to a separate pane that shows details about the state.
• The map will zoom to the selected asset's zoom layer plus 1 percent.
• If no asset is selected or a selected asset is not located on a map, the
map shows the initial zoom layer and map center point.
If the Asset property is configured, set the FollowCurrentAsset
property to false to enable the map to follow the asset configured to
load map using the asset's location and associated symbol.
Sources Map data sources configured in the app's map settings. (All) is the default
value, which includes all map data sources specified for the Map app.
Note: All must be placed within parentheses (All) as a Sources property
value.
If you want to restrict a Map app to show data from only some map
sources, use a comma delimited string to specify multiple sources.
OSM,Bing,TemperatureOverlay
ZoomLayers Map zoom layers configured for the Map app. (All) is the default value,
which includes all zoom layers specified for the Map app.
Note: All must be placed within parentheses (All) as a ZoomLayers
property value.
If you want to restrict a Map app to show data from only some zoom
layers, use a comma delimited string to specify the zoom layers by name.
country,state,city
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 70
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
In this example, the Math::Int32 Add(Int32, Int32) exists in the current library and contains the same class,
method name and parameters as a method in the importing library. It is marked "Replace" in the "Proceeding
will" column. Proceeding with the import will replace the entire script library in the application with the
importing library.
The Math::132 Subtract(Int32, Int32) is marked "Remove" because the importing library does not contain
the subtract method. Script method conflict resolution requires replacing the entire script library, which will
also result in the removal of this method if it is not in the importing library.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 71
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
You cannot cancel the import of an individual method that would remove an existing method from the library, as
in the example above. You must proceed with all the conflicting methods or cancel the entire import.
Important: Only .NET class library files can be detected as duplicates at time of import. .aaSLIB library and .wdf
script extension files will not import if they conflict with methods in the existing library. In this case, no
notification of the conflict will be given.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 72
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 73
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
3. In the From Priority and To Priority Range fields, click and enter numbers from 1 to 999 to set the lower and
upper boundaries of an alarm priority range for each alarm severity.
Each priority range should be contiguous without overlap between priority ranges. Alarm severity 1 starts at
priority 1 by default.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 74
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
4. In the Shelve column, select or clear the check box to enable alarm shelving for each alarm severity.
5. Click OK to save your changes.
Your changes are saved to the application’s application folder.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 75
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 76
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 77
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 78
AVEVA™ InTouch HMI
Chapter 3 – Exporting and Importing InTouch Components
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 79
Chapter 4
A multi-monitor system shows an InTouch application on several monitors simultaneously. Together, a multi-
monitor configuration creates a composite screen composed of all monitors connected to the computer running
an InTouch application. Each monitor can show a portion of the screen or only a single window component like a
keypad.
While running an InTouch application, you can move the mouse between monitors and drag windows from one
monitor to another. Also, in some multi-monitor configurations you can show an entire InTouch application
window across all monitors, as shown in the following figure.
Node running
InTouch
application
Video
Card
Multi-Monitor Configurations
You can use two basic multi-monitor configurations.
• Single video card
• Multiple video card
Each configuration has unique hardware, software, and configuration requirements. Also, each configuration
supports a different set of multi-monitor features.
Multi-monitor
screen at
1600 x 1200
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 80
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
The composite screen resolution is the sum of the individual horizontal and vertical resolution of each monitor.
For example, a popular video card connects four 17 inch monitors stacked as a cube: two on the bottom and two
on the top. In the previous figure, each monitor runs at a screen resolution of 800 x 600 pixels. The composite
virtual screen resolution is 1600 x 1200 pixels.
In this figure, the resolution setting is for four monitors arranged side by side in a single row. The resolution for
each monitor is 1024 x 768. Added together, the composite screen resolution is 4096 x 768. You only need to
configure a single monitor’s resolution, color depth, and refresh rate. The resolution setting applies to all
monitors connected to the single video card.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 81
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
Node running
InTouch Video
application Cards
You click a numbered rectangle in the Display Properties dialog box to select the monitor you want to configure.
You arrange the numbered rectangles to match the physical placement of the monitors. Screen resolution, color
depth and refresh rate apply only to the monitor you select.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 82
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 83
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
The X Location and Y Location values determine the horizontal and vertical pixel placement of a window’s top
left corner on a screen. The origin of horizontal and vertical pixel scales is at the top left corner of a screen.
The Window Width and Window Height settings determine the overall size of the window. For example, you can
configure a window with the following settings:
• X location = 1024
• Y location = 0
• Window Width = 1024
• Window Height = 768
The multi-monitor configuration consists of four monitors arranged in a single horizontal row. Each monitor has a
resolution of 1024 X 768. The overall composite screen resolution is 4096 X 768.
By setting the window’s horizontal origin to 1024 and vertical origin to 0, you force this window to appear on the
second monitor during run time. The window covers the entire screen surface of the second monitor.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 84
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 85
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
Parameter Description
For example, if you want to show your InTouch application with a screen resolution of 2560 x 1024 on two
horizontal monitors, enter the following:
[InTouch]
MultiScreen=1
MultiScreenWidth=1280
MultiScreenHeight=1024
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 86
AVEVA™ InTouch HMI
Chapter 4 – Setting Up a Multi-Monitor System
When you deploy the application on the multi-monitor system, a message appears prompting you to convert the
application.
If the ScaleForResolution .ini setting is configured, you still see this message but the application is not converted
and can then be run as designed. Simply click Yes to continue startup.
If the .ini setting is not configured, the InTouch HMI converts and scale all of the graphics and windows in the
application to the new resolution. Doing so stretches and enlarge all windows and graphic displays, thus creating
some unwanted results.
Important: Make sure that the multi-monitor Win.ini parameter settings are also configured on the destination
computer before running your application. Win.ini settings do not automatically transfer with an InTouch
application.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 87
Chapter 5
Windows XP Tablet PC Edition and InTouch comes pre-installed with a line of portable Tablet PCs. These rugged
Tablet PCs are waterproof and vibration resistant, making them suitable for most industrial environments. Tablet
PCs are also available from other computer manufacturers that can run InTouch applications.
Operators carry a Tablet PC with them as they move around their plant. The Tablet PC runs an InTouch
application that represents their actual plant processes. Using a pen that acts as a screen pointer or an input
device, operators select InTouch objects on the screen or as a keyboard substitute to write notes directly on the
screen.
Operators can write notes and annotate a running InTouch application with direct observations about their
actual plant processes.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 88
AVEVA™ InTouch HMI
Chapter 5 – Using InTouch on a Tablet PC
The Annotate Layout dialog box contains a toolbar and menu options. The dialog box shows the screen capture
in its client area. You can annotate the image using various drawing tools, and save, print, or send the screen
capture in an e-mail message.
Each of these tools has certain options such as size, color, or transparency.
• To set these options, click the downward arrow next to each tool’s icon and then click the command for the
option.
• To restore these options to their default settings, on the Tools menu, click Restore Defaults.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 89
AVEVA™ InTouch HMI
Chapter 5 – Using InTouch on a Tablet PC
AnnotateLayout() Function
Shows the Annotate Layout dialog box, where you can annotate the current view screen from where this script
function is called. This function is only supported on the Windows XP Tablet PC Edition operating system.
Category
System
Syntax
AnnotateLayout()
Remarks
When Annotate Layout dialog box appears, the screen image of WindowViewer is captured. Use the dialog box
to:
• Annotate the screen capture using the pen in conjunction with tool bar and menu item settings.
• Save the image and the annotation as a .gif or .jpeg file.
• Print the image and the annotation (if a printer is configured).
• Send the image and the annotation as an attachment of an e-mail message (if SMTP is configured).
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 90
AVEVA™ InTouch HMI
Chapter 5 – Using InTouch on a Tablet PC
If WindowViewer is not configured to dynamically change the application resolution, the landscape application is
not scaled. In this case, some InTouch windows can be truncated on the Tablet PC.
When switching from one configuration to another, the screen resolution is switched by default. For example, if
the tablet PC running in laptop configuration is switched to tablet configuration, the screen orientation switches
from landscape (1024 x 768) to portrait (768 x 1024) mode.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 91
Chapter 6
A service is a Windows process that performs a specific unattended background system function without a user
interface or a required user logon.
The following startup options are available for Windows services:
• Automatic. When Windows restarts, the service automatically starts without any user intervention.
• Manual. A user or an application process must explicitly start the service.
• Disable. The service is prevented from starting. This is useful for troubleshooting.
Note: The parameters option in the InTouch WindowViewer service is not supported.
Services are started without compromising the Windows security system.
The InTouch HMI includes the following Windows services:
• Alarm DB Logger
• Alarm DB Purge/Archive
• NetDDE Helper
• SuiteLink
• WindowViewer
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 92
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
• Alarm DB Purge/Archive
• NetDDE Helper
• SuiteLink
• WindowViewer
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 93
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 94
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
You can also update the WIN.INI with the application open in WindowMaker. If you then fast-switch to run time,
WindowViewer runs as a service for the application.
Note: The above functionality is not supported for Managed InTouch applications. If you attempt to fast-switch a
Managed application from WindowMaker to run as a service in WindowViewer, a warning message will be
logged in the Logger.
The WIN.INI is located here:
C:\ProgramData\Wonderware\InTouch\Service\win.ini
Enter the directory of the application you want to run as a service, as in the example below:
Stopping a Service
You can manually stop the WindowViewer service using the Control Panel.
To stop the WindowViewer service using the Control Panel
1. Start the Control Panel.
2. Double-click Administrative Tools and then double-click Services. The Services dialog box appears.
3. In the details pane, right-click WindowViewer and then click Stop.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 95
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
Note: The master account is also called the impersonation account. An impersonation account is the user or
group account that provides access to the restricted resource "area" of your site or server.
If you want to change the master account, use the Change Network Account Utility.
Caution: Changing the master account affects all AVEVA services, not just InTouch services.
To change the master account
1. On the Start menu, point to Programs, point to AVEVA, and then click Change Network Account. The
Change Network Account dialog box appears.
2. Change the user account. For more information, see the Change Network Account documentation.
3. Click OK.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 96
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 97
AVEVA™ InTouch HMI
Chapter 6 – Managing InTouch Services
WindowViewer:
• HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\VIEW
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 98
Chapter 7
Alarms
You can create InTouch applications that generate alarms and events to notify operators about the status of
process activity.
• Alarms warn run-time operators about process conditions that could potentially cause problems. Typically,
you set up an alarm to trigger when a process value exceeds a defined limit. An operator must usually
acknowledge the alarm.
• Events represent normal system status messages. A typical event is when a system condition occurs, such as
an operator logging on to an InTouch application. Operators do not have to acknowledge events.
The following figure shows how the InTouch HMI handles alarms and events while an application is running.
Alarm and event data is saved to the alarm database.
Running Physical Process
HiHi Alarm
InTouch
Client 90
Alarm
Provider
HiHi Alarm
Alarm
Ack
Running InTouch
Application
Alarm Records
Log On Event
Event
Records
Alarm Database
You can configure any tag for event monitoring. An event message is logged to the alarm system each time the
tag value changes. The event message includes how the value changed and whether the operator, I/O, scripts, or
the system initiated the change.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 99
AVEVA™ InTouch HMI
Chapter 7 – Alarms
Alarm Records
Alarm DB Purge
Purge/Archive Request
Alarm Records
Purge Records Archive Records
Archive
Log File Files
Archive Records
Alarm Records
Alarm DB
Restore
Log File
You must be logged on to the computer as an administrator to use the Alarm DB Purge-Archive utility.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 100
AVEVA™ InTouch HMI
Chapter 7 – Alarms
Important: The Alarm DB Purge-Archive utility runs as a set of Windows services. To reduce the security
exposure of running the Alarm DB Purge-Archive utility with administrator privileges, the user account
permissions are set to non-interactive.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 101
AVEVA™ InTouch HMI
Chapter 7 – Alarms
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 102
AVEVA™ InTouch HMI
Chapter 7 – Alarms
c. In the Credential Information area, from the Credentials drop-down, select the credentials for
authentication.
Note: The Credentials field is enabled only when you select SQL Server authentication type. The Windows
Authentication method uses the credentials of the user currently logged in, and disables the Credentials
field. For standalone InTouch applications, the credentials are retrieved from the Application Manager. For
managed InTouch applications, the credentials are retrieved from the Credential Manager of the Application
Server. . For more information, see Work with Credential Manager in the AVEVA™ InTouch HMI Application
Development Guide.
4. Click Test Connection to test the connection to the database. A message indicates if the connection to the
alarm database is successful.
5. Click OK.
6. Click Apply.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 103
AVEVA™ InTouch HMI
Chapter 7 – Alarms
3. In the Purge Properties area, configure the type of records to purge. Do either of the following:
• Click Detailed Mode to purge alarm records that are saved in the database in Detailed mode.
• Click Consolidated Mode to purge alarm records that are saved in the database in Consolidated mode.
4. In the Days Online box, type the number of days worth of records to retain in the alarm database.
5. Click Apply.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 104
AVEVA™ InTouch HMI
Chapter 7 – Alarms
The Alarm DB Purge-Archive utility assigns names to the archive files based upon the table name, date, and time
when the purge operation occurred. For example, the name of the archive file for the AlarmMaster table that
was purged on June 22, 2007 at 5:30 p.m. is formatted like the following:
AlarmMaster_06222007_1730.txt
To configure the archive
1. Open the Alarm DB Purge-Archive utility. Do the following:
a. In the Tools view, expand Applications.
b. Double-click Alarm DB Purge-Archive.
2. Click the General tab.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 105
AVEVA™ InTouch HMI
Chapter 7 – Alarms
4. In the Archive Folder Path box, type the folder location where archive files should be saved or click the
ellipsis button to browse for the location.
5. Select the Create Unique Folders check box if you want the archive files to be placed in an individual sub-
folder beneath the archive file folder.
6. Click Apply.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 106
AVEVA™ InTouch HMI
Chapter 7 – Alarms
3. In the Log File Path box, type the folder location where the purge log file should be placed or click the ellipsis
button to browse for the location.
4. Click Apply.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 107
AVEVA™ InTouch HMI
Chapter 7 – Alarms
Caution: Manually purge all records (the Purge All Now option) only when the Alarm DB Logger service is
stopped. If the purge operation is committed successfully while the Alarm DB Logger service is running, the
Alarm DB Logger service stops logging and starts caching records.
To manually purge and archive records from the alarm database
1. Open the Alarm DB Purge-Archive utility. Do the following:
a. In the Tools view, expand Applications.
b. Double-click Alarm DB Purge-Archive.
2. Click the Purge/Archive tab.
3. Click Test Now to perform a test purge to verify your connection to the database and archive locations.
The test purge creates empty archive files in the specified archive folder. The Status area shows a message
that the test was successful.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 108
AVEVA™ InTouch HMI
Chapter 7 – Alarms
The Test Now button is available only if you have chosen to archive your purged records. The Archive option
is located on the General tab.
4. Purge the records from the database. Do either of the following:
• Click Purge Now to purge the selected records.
• Click Purge All Now to purge all records.
5. To stop a purge, click Cancel Purge. If you cancel the purge, the alarm database is rolled back to its original
state.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 109
AVEVA™ InTouch HMI
Chapter 7 – Alarms
3. In the Time Interval area, select a purge interval, either daily, weekly, or monthly.
If you click Weekly or Monthly, a Day box appears in the Activation Time area for you to specify the day of
the week or day of the month.
If you click Daily, in the Time box, configure the time of day that you want the purge/archive operation to
start.
4. In the Run As area, click Normal application to run the purge-archive utility as an application or click
Windows Service to run it as a service.
For Windows Service, either select Virtual account or specify the username and password for another
account under the This account: area.
Note: For more information on Virtual account, see Using Virtual Accounts.
5. Click Apply to save your purge and archive settings.
6. Click Activate to place the Alarm DB Purge-Archive utility on an automatic purge schedule.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 110
AVEVA™ InTouch HMI
Chapter 7 – Alarms
7. Click Close.
To stop the automatic purge schedule and remove the Window Service, click Deactivate. After a brief delay
the service will be removed from Window Services.
Archive
Log File Request
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 111
AVEVA™ InTouch HMI
Chapter 7 – Alarms
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 112
AVEVA™ InTouch HMI
Chapter 7 – Alarms
Server. For more information, see Work with Credential Manager in the AVEVA™ InTouch HMI Application
Development Guide.
a. Click Test Connection to test your connection to the database. A message indicates whether the
connection to the alarm database is successful or not.
b. Click OK.
4. Click Close.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 113
AVEVA™ InTouch HMI
Chapter 7 – Alarms
3. In the Folder Path for Archived Files box, type the full path (up to 255 alphanumeric characters) to the
location of the archived files or click the button to locate and select the folder where archived files are
stored.
4. In the Restore files later than (Date/Time) area, select the date and time to start restoring records to the
database.
The starting date and time are set by default to the current date and time.
5. In the Folder path for log file box, type the full path (up to 255 alphanumeric characters) where the log files
are created and stored or click the button to locate and select a folder.
6. If you select the Recreate Tables check box, the tables of the specified alarm database are recreated.
7. Depending on the type of Logging Mode you selected for the alarm records contained in the archived files,
select:
• Detailed - Recreate the alarm database tables in detailed mode.
• Consolidated - Recreate the alarm database tables in consolidated mode.
Important: Recreating tables overwrites all records currently stored in the alarm database.
1. Click Restore.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 114
AVEVA™ InTouch HMI
Chapter 7 – Alarms
3. Click Restore. A message shows whether the restoration is successful and the number of records restored to
the database.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 115
Appendix A
The first time you run an InTouch application, the INTOUCH.ini file is created in the application folder. When the
INTOUCH.ini file is created, values are assigned to a set of parameters that determine the operating
characteristics of an individual InTouch application.
As you continue configuring your application from WindowMaker or WindowViewer, new INTOUCH.ini
parameters are created or existing parameters are modified. For example, when you configure logging from the
WindowMaker Historical Logging Properties dialog box, logging parameters are added to the INTOUCH.ini file.
Other configuration parameters must be manually added to the INTOUCH.ini file.
After you customize your application, you can copy the INTOUCH.ini file to a different application's folder. This
way, you can create consistent operating characteristics for your applications without having to repeat all
customization steps.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 116
AVEVA™ InTouch HMI
Appendix A – Customizing Applications Settings from the INTOUCH.ini File
ForceLogging Sets the length of the interval when tag values are
periodically written to the Historical Log file regardless
of their current values.
LoopTimeOut Sets the time out period of FOR-NEXT loop processing
in an InTouch script.
MarkAppReadOnlyNonRDS On a non-RDS node, if this parameter is set to 1, it will
consider this a read-only node and consume a read-
only license for an InTouchView application.
MouseMustBeOnObjectForOnKeyUp Determines if the mouse must be over the object for
the On Key up action to be triggered. The value is '1'
by default.
NoKeyboardResize Determines whether the numeric keyboard is resized
to the resolution of the WindowViewer screen.
OldRightMouseBehavior Determines whether the right mouse button is
enabled in WindowMaker.
PrintScreenWait Sets the wait period before printing a screen from
WindowViewer.
PrintWindowWait Sets the wait period before printing an InTouch
window from WindowViewer.
RemoteTagsLogEvents Determines whether an InTouch application logs
remote referenced tag alarms and events.
RemoteTagsNoIOEvents Determines whether an InTouch application logs
remote referenced tag alarms.
ScaleForResolution Determines whether InTouch application windows are
automatically resized when changing nodes that have
different screen resolutions.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 117
AVEVA™ InTouch HMI
Appendix A – Customizing Applications Settings from the INTOUCH.ini File
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 118
AVEVA™ InTouch HMI
Appendix A – Customizing Applications Settings from the INTOUCH.ini File
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 119
AVEVA™ InTouch HMI
Appendix A – Customizing Applications Settings from the INTOUCH.ini File
the trend’s data point can appear as a vertical line between the maximum and the minimum values observed
within the interval.
After the minimum to maximum vertical line is drawn, the trend pen moves to the calculated average value
for the interval. The next interval begins by drawing the line from the average value to the next interval on
the trend. The vertical minimum to maximum line is drawn and the pen rests at the average value calculated
for the interval. This process repeats for each sampling interval.
Averaging is the default drawing mode of a 16-Pen Trend if the 16PenTrendDrawMode is not specified in the
INTOUCH.ini file.
• Min-Max mode: 16PenTrendDrawMode=1
In the Min-Max drawing mode the trend line is drawn by directly connecting the endpoints of each data
collection interval.
Resizing the Input Fields of Analog and String User Input Links
You can add the Resizable InputLink parameter to the INTOUCH.ini file to resize the input box of the Analog or
String user input links with your mouse. The Resizable InputLink parameter must be set to a non-zero value.
After the Input field is resized the first time, WindowViewer adds the Resizable InputLink Width and Resizable
InputLink Height parameters to the INTOUCH.ini file. These parameters specify the width and height of Input
boxes in pixels.
Example:
Resizable InputLink = 1
Resizable InputLink Width=300
Resizable InputLink Height=50
Also, you can edit the INTOUCH.ini file to manually modify the values assigned to these parameters.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 120
AVEVA™ InTouch HMI
Appendix A – Customizing Applications Settings from the INTOUCH.ini File
Possible causes of this problem can be an OnKeyUp script that does not run because a graphic element with an
OnKeyDown script hides the window. Also, the stuck button problem can be caused when there are two scripts,
OnKeyDown to set a bit and OnKeyUp to clear the bit. The operator clicks the button, but the window containing
the button closes before the mouse is released.
To solve these problems, do the following:
• Insert the UseLegacyOnKeyUp=1 parameter in the Intouch.ini file.
• Select the Use In-Memory Window Cache check box in the WindowViewer Properties dialog box.
© 2015-2023 AVEVA Group Limited or its subsidiaries. All rights reserved. Page 121