2017 - InTouch - ModernAppGuide
2017 - InTouch - ModernAppGuide
© 2018 AVEVA Group plc and its subsidiaries. All rights reserved.
No part of this documentation shall be reproduced, stored in a ret rieval system, or transmitted by any
means, electronic, mechanical, photocopying, rec ording, or otherwise, without the prior written
permission of AVEVA. 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, AVE VA 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 soft ware described in this
documentation is furnished under a lice nse agreement. This soft ware may be used or copied only in
accordance with the terms of such license agreement.
ArchestrA, Aquis, Avantis, Citect, DYNSIM, eDNA, EYESIM, InBatch, InduSoft, InStep, Int elaTrac,
InTouch, OASyS, PIPEPHASE, PRiSM, PRO/II, PROV ISION, ROMeo, SIM4ME, SimCentral, SimSci,
Skelta, SmartGlance, Spiral Software, Termis, WindowMaker, WindowViewer, and Wonderware are
trademarks of AVEVA and/or its subsidiaries. An extensive listing of AVEVA trademarks can be found at:
https://sw.aveva.com/legal. All other brands may be trademarks of their respective owners.
Publication date: 11/23/2018
Contact Information
AVEVA Group plc
High Cross
Madingley Road
Cambridge
CB3 OHB. UK
https://sw.aveva.com/
For information on how to cont act sales, customer training, and technical support, see
https://sw.aveva.com/contact.
InTouch HMI Modern Application Guide
Contents
Chapter 1 Working with InTouch Modern Applications .................................................... 5
Chapter 2 Managing InTouch Modern Applications ......................................................... 7
Creating an InTouch Modern Application .................................................................................... 7
Working with InTouch Application Templat es .............................................................................. 9
Working with Application Templates ......................................................................................... 12
Editing an InTouch Modern Application ..................................................................................... 14
Exporting an InTouch Modern Application ................................................................................. 14
Importing an InTouch Modern Application ................................................................................. 16
Migrating to an InTouch Modern Application ............................................................................. 19
Publishing an InTouch Modern Application ............................................................................... 20
Deleting an InTouch Modern Application................................................................................... 21
3
InTouch HMI Modern Application Guide
C HAPTER 1
Working with InTouch Modern Applications
Modern InTouch applications give you the capability to easily integrat e ArchestrA symbols directly into
your applications. You simply drag ArchestrA or Situational Awareness Library symbols from
WindowMaker’s ArchestrA Graphic Toolbox into Modern application windows. All configuration steps to
use ArchestrA Graphics are completed from InTouch WindowMaker.
Modern applications combine the capability inherent in ArchestrA symbols with the familiar workflow of
legacy InTouch applications.
The following figure summarizes the workflow of managing and configuring Modern applications. Most
management tasks are complet ed from InTouch Application Manager to:
Create Modern applications
Open and edit Modern applications
Export and import Modern applications
Migrate earlier versions of InTouch applications to Modern applications
Publish Modern applications
5
InTouch HMI Modern Application Guide Working with InTouch Modern Applications
Most Modern application configuration tasks are done from WindowMaker, including (but not limited to)
those that:
Configure support for ot her languages
Configure the Application Style Library
Configure Alarm Priority Mapping
Export and import ArchestrA symbols
Import client controls
Configure NA D support
Import Script Function Libraries
Export and import Application styles
Export and import localization strings for symbols
6
InTouch HMI Modern Application Guide
C HAPTER 2
Managing InTouch Modern Applications
This chapter includes the following topics that explain how to create and manage your InTouch Modern
applications from the InTouch Application Manager.
In This Chapter
Creating an InTouch Modern Application .......................................................................................... 7
Working with InTouch Application Templat es .................................................................................... 9
Working with Application Templates ............................................................................................... 12
Editing an InTouch Modern Application .......................................................................................... 14
Exporting an InTouch Modern Application ...................................................................................... 14
Importing an InTouch Modern Application ....................................................................................... 16
Migrating to an InTouch Modern Application ................................................................................... 19
Publishing an InTouch Modern Application ..................................................................................... 20
Deleting an InTouch Modern Application ........................................................................................ 21
Important: You cannot use Windows Explorer to move a Modern application's folder aft er it has been
created. Use the Modern application ex port and import options to move your Modern application to
another folder or computer.
7
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
The Create New Application wizard appears with options to creat e a Modern application, Modern
application from a template, or legacy application.
8
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
6. Type the name of the folder and specify a target resolution if different than the default screen
resolution.
Options for the target resolution are as follows:
a. Click the Select target resolution dropdown menu to view a list of predefined target resolutions.
b. Click the Select target resolution dropdown menu and select Custom. The Pixel width and
height fields become editable. The boundary limits are 150x150 to 10000x10000.
7. Click Next.
The Create New Application wizard updates to show fields to enter a name and a description of a
new Modern application.
8. Type the name of the Modern application in the Name field.
9. If you want, enter an optional description of the application in the De scription field.
The description appears in the De scription column of Application Manager’s list of applications.
10. Click Finish.
A horizontal bar shows the progress of creating a new Modern application. After the application is
created, it appears in Application Manager’s list of applications.
9
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
10
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
The left pane displays a tree view of the application template folders. The right pane displays
thumbnail previews of the cont ents of the selected folder.
Each thumbnail in the browser maintains its aspect ratio.
4. Select the template you want and click OK.
11
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
The Create New Application wizard displays again. A thumbnail of your selected template
populates in the wizard.
12
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
Upon click of OK, each window is automatically placed in the Template Windows folder in the
Windows & Scripts pane.
You must now create and assign a thumbnail to the application you want to make into a template.
To create and assign an application thumbnail:
1. Using any screen capture program, take a screen capture of your application at either configuration
or run time.
a. Save the image to any picture file format, such as a .bmp or .png file, and copy it to your
application folder.
2. From your application folder, open the INTOUCH.INI file with a standard text editor such as Notepad.
3. Edit the INTOUCH.INI file to include the file name of the image in the ApplicationThumbnail field.
Note: The ApplicationThumbnail field is case sensitive and must exactly match the name and
extension of the thumbnail image.
13
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
Note: The application template thumbnail you created in the previous procedure is extracted from the
exported .aaPKG file. If your application template appears in the Application Template Browser with a
blank thumbnail, a valid image could not be extracted. Be sure a valid image file format was used to save
the thumbnail and the ex act filename is entered int o the ITOUCH.INI.
14
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
Language strings
Application folder contents
To export a Modern application
1. Open InTouc h Application Manager.
2. Click on a Modern application name to select it from Application Manager’s list of InTouch
applications.
3. Select the Export wizard by one of the following methods:
a. Select Export from the File menu.
b. Right -click within Application Manager and select Export from the shortcut menu.
c. Select the Export icon from the menu bar.
d. Press the Ctrl + E keys.
The Export InTouch Application wizard appears with a field to name the export file. The default
name of the export aaPKG file is the application name.
4. If desired, change the ex port file name and the destination folder to save the export file.
5. Click Save.
A horizontal bar shows the progress of exporting the application. After the export operation is
complete, Window Explorer opens to show the ex port ed aaPKG file in the designated folder.
15
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
The Import InTouch Application wizard provides three options to select a file or folder to import a
Modern application:
16
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
17
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
d. Click Open. The selected file appears in the top field of the Import InTouch Application
wizard.
e. Click Next.
The Create New Application wizard shows a field to specify the base folder path to import the
file you selected.
f. Continue at step 4.
Select a folder to import
a. Click Folder.
b. Go to the folder where the folder to be imported is located.
c. Click the folder to be imported and click OK. The selected folder appears in the top field of
the Import InTouch Application wiz ard.
d. Click Next.
The Create New Application wizard shows a field to specify the base folder path to import the
folder you selected.
e. Continue at step 4.
4. Click Browse and go to a folder to import the application.
5. Click Next.
The Create New Application dialog box appears wit h a field to enter a name of the folder to plac e
the imported application.
There is also a field to specify the application target resolution if different than the default screen
resolution. Options for this field are as follows:
a. Click the Select target resolution dropdown menu to view a list of predefined target resolutions.
b. Click the Select target resolution dropdown menu and select Custom. The Pixel width and
height fields become editable. The boundary limits are 150x150 to 10000x10000.
Note: If a different target resolution is selected upon import, there will be no application
resolution conversion from the source application resolution to the target resolution. The aspect
ratio of the application will be maintained.
18
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
3. Click Ye s.
A pop-up message asks if you want to migrate the application to be able to use ArchestrA graphics.
19
InTouch HMI Modern Application Guide Managing InTouch Modern Applications
20
Managing InTouch Modern Applications InTouch HMI Modern Application Guide
Note: If a Modern application’s folder is placed on another computer's shared directory, the delete
operation only removes the application from Application Manager. The delete operation does not delete
a Modern application folder residing on another computer.
21
InTouch HMI Modern Application Guide
C HAPTER 3
Configuring InTouch Modern Applications
This chapter includes the following topics that explain how to configure your InTouc h Modern
applications from WindowMaker.
In This Chapter
Configuring Languages for a Modern Application ............................................................................ 23
Configuring the Application Style Library for Modern A pplications .................................................... 24
Exporting and Importing the Application Style Library ...................................................................... 25
Configuring Alarm Priority Mapping for Modern Applications ............................................................ 26
Exporting ArchestrA Graphics from a Modern Application ................................................................ 26
Importing ArchestrA Graphics to a Modern Application .................................................................... 27
Exporting Selected Symbols from the A rchestrA Toolbox ................................................................ 29
Importing and Embedding Custom Client Cont rols .......................................................................... 30
Exporting ArchestrA Symbol Text Strings from a Modern Application ............................................... 33
Importing Text Strings of ArchestrA Symbols to a Modern Application .............................................. 34
Exporting Localization Strings from a Symbol ................................................................................. 34
Importing Script Function Libraries to an InTouch Modern Application .............................................. 35
Configuring NAD Support for Modern Applications .......................................................................... 37
b. Click the By Name or Locale ID drop-down button and select a listed language to add to the
application.
23
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
c. If you want to change the font for the language you are adding to the application, click the Font
drop-down button and select the font for the language.
d. Click OK to add the language to the application.
To remove a language:
a. Select the language you want to remove from the Configure Languages dialog box.
b. Click Remove.
The Confirm Delete dialog box appears to verify that you want to remove the language from the
application.
c. Click Yes.
The Configure Languages dialog box refres hes and shows the language has been delet ed.
To set a default language:
a. Select the language you want to set as the default for the application on the Configure
Languages dialog box.
b. Click Set Default.
The Configure Languages dialog box refres hes and shows the default language of the
application in the bottom left corner.
Important: This section describes the workflow within WindowMaker to access a Modern application’s
style libraries. For more information about editing application styles, see WindowMak er online help or the
Creating and Managing ArchestrA Graphics User’s Guide.
24
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
The Configure Application Style s dialog box appears with tabs to configure quality and status
indicators, graphic Element styles, and number format styles.
25
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
4. Click Open.
A dialog box confirms that the Application Style Library was imported successfully.
Important: This section describes the workflow within WindowMaker to map alarm priority ranges to
alarm severities. While InTouch does not have built-in Alarm Severity management as does Application
Server, users can make use of InTouch tags to implement Alarm Border animation. In this case, the
priority to severity mapping in the dialog box is used only as a visual aid to associate priorities to alarm
border colors and alarm indicat or icons. For more information about configuring alarm priority mapping
and alarm shelving, see WindowMaker online help or the Creating and Managing ArchestrA Graphics
User’s Guide.
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.
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 Modern application’s Galaxy Repository and application folder.
26
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
You cannot select which ArchestrA graphics to export from a Modern application. All ArchestrA graphics
are exported from a Modern application.
To export ArchestrA graphics from a Modern application
1. Open the Modern application in WindowMaker containing the Arc hestrA graphics that you want to
export.
2. On the File menu, click Export, and then click All Arche strA Graphics.
The Export Arche strA Graphics dialog box appears to specify the destination folder and the name
of the export file.
27
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
Only ArchestrA graphics from the aaPKG file are imported. The imported graphics overwrite any
graphics of the Modern application op en for editing in WindowMaker. If the aaPKG file contains
non-support ed components, the import fails and a dialog box with an error is shown.
To import ArchestrA graphics to a Modern application
1. Open the Modern application in WindowMaker that you want to import ArchestrA graphics.
2. On the File menu, click Import, and then click ArchestrA Graphics.
The Import Arche strA Graphics dialog box appears to s pecify the folder containing an export file of
ArchestrA graphics.
3. Using Windows Explorer, go to the folder containing an aaPKG file of exported ArchestrA graphics.
4. Select the aaPKG file to import.
The File name field shows the name of the file you selected.
5. Click Open.
The Import ArchestrA Graphics dialog box appears with the following options for overwriting
graphics:
o Skip: Do not Import - The graphics will not be imported
o Overwrite if the importing graphic change version is higher - Will import the graphics only if the
version of the file imported is higher than the installed version.
o Overwrite regardless of graphic change version - The graphics will be imported.
6. Click OK.
28
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
A horizontal bar shows the progress of the ArchestrA graphics being imported into the active Modern
application. When finished, the progress indicator disappears.
Note: This procedure explains how to export selected ArchestrA symbols. See Exporting ArchestrA
Graphics from a Modern Application for instructions to export all ArchestrA symbols.
29
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
7. Click Save.
A horizontal bar shows the progress of the ArchestrA graphics being loaded int o the export file.
Important: Only Modern applications can import custom client controls. You cannot import custom client
controls to legacy or published InTouch applications.
The Import Client Control (s) dialog box appears with a field to enter the name of a custom client
control you created.
4. Using Windows Explorer, go to the folder where you plac ed the client control .dll file.
5. Select the client control .dll file and click Open.
WindowMaker updates and shows the custom client control you imported in the ArchestrA Graphic
Toolbox.
30
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
You can also remove an imported client control from the ArchestrA Graphic Toolbox. First, select the
client control within the ArchestrA Graphic Toolbox. Then, right-click to show the shortcut menu and
select Delete.
Note: Conflict detection is based solely on the name of the control. Library filenames or versions have no
affect on conflict detection.
For example, if you import a client control .dll containing the two controls MathControl and TrendControl
and the current library contains cont rols of the same name, the Import Client Control dialog box will
display:
The existing client control .dll will be replac ed, and the new control will now be available in the library.
If you see "Remove" in t he "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 c ontaining the controls MathControl and DatabaseControl and
the current library cont ains MathControl and TrendControl, TrendControl will be removed from t he library
upon import.
31
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
The Import Client Cont rol dialog box will prompt you to acknowledge the removal:
The library will be replaced and TrendControl will be removed upon completion of the import.
Restart WindowMaker to updat e 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.
Important: You cannot drag and drop the custom client cont rol from the A rchestrA Graphic Toolbox onto
the ArchestrA symbol. You must always embed the custom client control.
5. Configure your custom client control as needed for the Modern application.
32
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
33
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
34
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
When you export the text strings from a symbol, you must specify an output folde r. A best practice is to
create a separate folder for each file whose strings will be translated into another language.
All exported localization files follow a naming convention:
<ModernAppFolderName>AA_<LanguageID>.xml. For example, if a Modern applicati on folder name is
PumpStation1 and the language of the localization strings being exported is Mexican Spanish
(Language ID = 2058), then the file name is PumpStation1AA _2058.xml.
To export localization strings from a symbol
1. Open the Modern application in WindowMaker.
2. Select the symbols from the ArchestrA Graphic Toolbox whose localization strings you want to
export.
o Left-click on a symbol name to select a single symbol.
o Press the Ctrl key and left-click on symbol names to select two or more symbols.
o Left-click on a symbol name and then press the Shift key and left -click on another symbol name
to select all symbols between the two selected symbols.
3. Right -click on a selected symbol to show the shortcut menu.
4. Select Export, then Localization, and finally Selected Symbols(s)....
The Export Locale Data dialog box appears.
35
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
The script function library you imported to one Modern application is automatically included when
exporting the application to create another Modern Application. The script function library also is
available when publishing the Modern application to which it was imported.
To import a script function library to a Modern application
1. Open the InTouch Modern application to which you want to import a script function library.
2. Click File on the WindowMaker main menu, then click Import, then click the Script Function
Library option.
The Import Script Function Library dialog opens.
Note: No progress bar or progress information window appears during the import. An information
window opens when the import successfully complet es.
Note: The version or filename or either .dll have no affect on method conflict detection.
36
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
Upon import, conflicting methods will be display in the Import Sript Function Library dialog box:
In this example, the Math::Int32 Add(Int32, Int32) exists in the current library and contains t he
same class, method name and parameters as a method in t he 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.
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 canc el the entire
import.
Important: Only .NE T 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.
37
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
Note: If the Prompt to Notify Clients on Close option is selected, every time WindowMaker is closed it
will verify if there are any changes from the last notification. If there are any changes, a dialog box wit h
the prompt ‘Do you want to notify the NAD clients?’ will appear. Click Yes to notify the clients, click No to
ignore the changes.
The first time a M odern application (with embedded ArchestrA graphics) is opened on a NA D client node,
graphics may not appear and errors are logged in the SMC Logger. To avoid this, run the Notify Clients
command from the NA D master node and the ArchestrA graphics will be loaded on the NA D client node
based on the Change Mode option.
To configure NAD client support for a Modern application
1. Start Application Manager from the NA D client node.
2. Select the Modern application to configure for NAD support.
38
Configuring InTouch Modern Applications InTouch HMI Modern Application Guide
39
InTouch HMI Modern Application Guide Configuring InTouch Modern Applications
40